Skip to content
Corex

SettingsSectionState

Corex\Config\Settings\SettingsSectionState · enum · Config layer

The display state of a settings section, derived purely from its add-on’s {@see AddonStatus} and whether it is configured (Spec 060 / M6 US2). This keeps every settings section honest: a section never presents usable fields for an add-on that is not active, and never shows settings for an add-on that is not installed.

forStatus(AddonStatus $status, bool $configured): self

Section titled “forStatus(AddonStatus $status, bool $configured): self”

Only a fully active, configured section presents usable settings fields.