Skip to content

Kirby 6.0.0

$field->label()

Returns the field's label, if it has one

$field->label(): string|null

Return types

stringornull

Parent class

Kirby\Form\Field