Skip to content
Corex

KitActivationNotice

Corex\Config\Addons\KitActivationNotice · class · Config layer

The kit activation prompt (spec 042): when a kit is enabled but not yet applied, this renders a dismissible admin banner previewing exactly what applying would do (pages created / populated / skipped, the front page, the modules) with Apply / Not now actions. Nothing changes until the admin chooses Apply — the preview is read-only. Apply routes through the shared {@see KitProvisioner::apply()} and a “what changed” summary is shown. Both actions are cap + nonce gated via the shared {@see AdminGuard} (Principle VII admin-screen rule).

__construct(KitProvisioner $provisioner, KitActivationView $view, PendingKits $pending, AdminGuard $guard)

Section titled “__construct(KitProvisioner $provisioner, KitActivationView $view, PendingKits $pending, AdminGuard $guard)”