Skip to content

Kirby 5.2.0

$statsField->emptyValue()

Returns the fallback value when the field should be empty

$statsField->emptyValue(): mixed

Return type

mixed

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

Parent class

Kirby\Form\Field\StatsField inherited from Kirby\Form\FieldClass