Skip to content

Kirby 4.4.1

$field->data()

Returns field data

$field->data(bool $default = false): mixed|null

Parameters

Name Type Default
$default bool false

Return type

mixed|null

Parent class

Kirby\Form\Field