Skip to content

Kirby 5.2.0

$field->emptyValue()

Returns the preferred empty state for the field

$field->emptyValue(): mixed

Return type

mixed

This method modifies the existing $field object it is applied to and returns it again.

Parent class

Kirby\Form\Field