The Single_Block
interface describes an object containing a single block.
interface Single_Block extends Serialized_Blocks {
public function block_name(): ?string;
public function parsed_block(): array;
}
- Named_Block: A single block with the given block name.
- Parsed_Block: A single parsed block.
- Default_Classname_Block: Block wrapped in the block default classname.
- Inner_Blocks_Prepended: Block with prepended inner blocks.