TemplateBlock
Class.
A block with attributes and inner blocks, used in #[InnerBlocks(template, defaultBlock)], #[Example] and #[Variation].
Constructor
Methods
getAttributes()
The attribute values by attribute name.
Returns array<string, mixed>
getBlock()
The block: a block class, a core block or the full name of another block.
Returns class-string|CoreBlock|string
getInnerBlocks()
The inner blocks.
Returns list<TemplateBlock>