$optionField->toArray()
Converts the field to a plain array
$optionField->toArray(): array
Return type
array<string, mixed>
Parent class
Kirby\Form\Field\OptionField
inherited from Kirby\Form\Field
Converts the field to a plain array
$optionField->toArray(): array
array<string, mixed>
Kirby\Form\Field\OptionField
inherited from Kirby\Form\Field