Skip to content

Kirby 4.5.0

$structureobject->parent()

Returns the parent model

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

Return type

Kirby\Cms\ModelWithContent

Parent class

Kirby\Cms\StructureObject inherited from Kirby\Cms\Item