Skip to content

Kirby 5.2.0

$fieldClass->emptyValue()

Returns the fallback value when the field should be empty

$fieldClass->emptyValue(): mixed

Return type

mixed

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

Parent class

Kirby\Form\FieldClass