SetupWizardScreen
Corex\Kit\SetupWizardScreen · class · Add-ons layer
The server-rendered setup wizard: a submenu under the Corex menu that lists the registered kits and, on apply (cap + nonce via the shared AdminGuard), hands the kit’s plan to the BlueprintActivator. The planning is the pure, tested SetupWizard; the side effects are the BlueprintActivator; this screen only renders + gates. (A richer React/stepped wizard is the deferred upgrade, like the settings screen.)
Public API
Section titled “Public API”__construct(SetupWizard $wizard, BlueprintActivator $activator, AdminGuard $guard, AdminPage $page, KitAppliedRecord $applied)
Section titled “__construct(SetupWizard $wizard, BlueprintActivator $activator, AdminGuard $guard, AdminPage $page, KitAppliedRecord $applied)”register(): void
Section titled “register(): void”menu(): void
Section titled “menu(): void”maybeEnqueue(string $hook): void
Section titled “maybeEnqueue(string $hook): void”Load the shared CoreX admin shell on the setup screen so the wizard inherits the full-width frame, card rhythm, brass buttons, step badges, and light/dark appearance (the kit owns its screen’s assets — it does not rely on another plugin’s allow-list).