Skip to content

Kirby 6.0.0

$optionField->when()

$optionField->when(): array|null

Return types

array<string, mixed>ornull

Parent class

Kirby\Form\Field\OptionField inherited from Kirby\Form\Field