Skip to content

Kirby 4.2.0

$field->key()

Returns the name of the field

$field->key(): string

Return type

string

Parent class

Kirby\Content\Field