Skip to content

Kirby 6.0.0

$optionField->toStoredValue()

Returns the value of the field in a format to be stored by our storage classes

$optionField->toStoredValue(): mixed

Return type

mixed

Parent class

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