Skip to content

Kirby 6.0.0

$structure->parent()

Returns the parent model

$structure->parent(): object|null

Return types

objectornull

Parent class

Kirby\Cms\Structure inherited from Kirby\Cms\Collection