Skip to content

Kirby 5.2.0

$value->emptyValue()

Returns the fallback value when the field should be empty

$value->emptyValue(): mixed

Return type

mixed

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

Parent class

Kirby\Form\Mixin\Value