Skip to content

Kirby 4.2.0

$layoutfield->default()

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

$layoutfield->default(): mixed|null

Return type

mixed|null

Parent class

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