Skip to content
Corex

FormsServiceProvider

Corex\Forms\FormsServiceProvider · class · Forms layer

Boots the forms engine: binds the headless cores (schema resolver, validator, rule registry) and the submission lifecycle (registry, service, repository, listeners, controller), then on the boot pass wires the WordPress boundary — the registered forms, their listeners, the submission CPT, and the REST route.

Discover and register the form block. Its view script + style are declared in block.json, so WordPress loads them only on pages where the block renders (FR-014).

The non-public store for submissions. Querying/admin viewing is out of scope.