Skip to content

Kirby 6.0.1

$fields->defaults()

Returns an array with the default value of each field that stores a value

$fields->defaults(): array

Return type

array<string, mixed>

Parent class

Kirby\Form\Fields