Skip to content

Kirby 4.2.0

$field->parent()

Returns the parent object of the field

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

Return type

Kirby\Cms\ModelWithContent|null