Skip to content
Corex

SettingsFieldValues

Corex\Config\Settings\SettingsFieldValues · class · Config layer

What each Settings field shows (spec 119, US-SET-01 and US-SET-02). A field shows the site’s stored value, unless the site’s .env or the network locks it, when it shows the value in force instead and cannot be edited. The Media switches show their runtime default before the first save, and the read-outs (server support, Advanced) are live facts.

__construct(SettingsStore $store, SettingLocks $locks, SettingsDiagnostics $diagnostics)

Section titled “__construct(SettingsStore $store, SettingLocks $locks, SettingsDiagnostics $diagnostics)”

The value the form draws for a field the site edits: what a save compares the post with, so that only a changed value is written (spec 114, FR-028).

state(string $key, string $type): FieldState

Section titled “state(string $key, string $type): FieldState”

How the field is drawn.