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.
Public API
Section titled “Public API”register(): void
Section titled “register(): void”boot(): void
Section titled “boot(): void”registerFormBlock(): void
Section titled “registerFormBlock(): void”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).
registerSubmissionPostType(): void
Section titled “registerSubmissionPostType(): void”The non-public store for submissions. Querying/admin viewing is out of scope.