$layout->parent()
Returns the parent model
$layout->parent(): Kirby\Cms\ModelWithContent
Return type
This method modifies the existing $layout
object it is applied to and returns it again.
Parent class
Kirby\Cms\Layout
inherited from Kirby\Cms\Item