Skip to content

Kirby 4.5.0

$fieldclass->default()

Returns the default value for the field, which will be used when a page/file/user is created

$fieldclass->default(): mixed|null

Return type

mixed|null

Parent class

Kirby\Form\FieldClass