Skip to content
Corex

BlocksServiceProvider

Corex\Blocks\BlocksServiceProvider · class · Blocks layer

Registers the block engine and, on init, discovers and registers every block under src/blocks (spec FR-014). Connectors are registered by the consuming module via the bound ConnectorRegistry.

registerBlockCategory(array $categories): array

Section titled “registerBlockCategory(array $categories): array”

Add the “Corex” inserter category so every corex/* block groups together, separate from core’s Widgets/Design groups. Prepended once; idempotent.