Skip to content

Kirby 6.0.0

$field->parent()

Returns the parent object of the field

$field->parent(): ModelWithContent|null

Return types

Kirby\Cms\ModelWithContentornull

Parent class

Kirby\Content\Field