Skip to content

Kirby 5.2.0

$layoutField->emptyValue()

Returns the fallback value when the field should be empty

$layoutField->emptyValue(): mixed

Return type

mixed

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

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass