Skip to content

Kirby 4.5.0

$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