Skip to content

Kirby 4.5.0

$field->parent()

Returns the parent object of the field

$field->parent(): Kirby\Cms\ModelWithContent|null

Return type

Kirby\Cms\ModelWithContent|null

Parent class

Kirby\Content\Field