method
BlockRegistry.Blocks
Blocks returns detached definitions: central registrations in order, then interned inline declarations in the order they were first bound.
Returns
The declared result.
[]BlockFull signature
func (r *BlockRegistry) Blocks() []BlockRelated types
BlockRegistryBlockRegistry owns the block definitions of one configuration, one per slug. Blocks registered centrally and blocks declared inline in a Blocks field or an embedded tree case are the same kind of definition: binding interns every inline declaration by slug, so each definition is bound once and shared by all of its placements. Bound containers select their definitions by slug and do not grant a placement mutation rights over a shared definition.
BlockBlock is one discriminated layout allowed by a blocks field.