Skip to content

Kirby 4.4.1

$layout->parent()

Returns the parent model

$layout->parent(): Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\ModelWithContent

Parent class

Kirby\Cms\Layout inherited from Kirby\Cms\Item