Skip to content

Kirby 4.5.0

$block->parent()

Returns the parent model

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

Return type

Kirby\Cms\ModelWithContent

Parent class

Kirby\Cms\Block inherited from Kirby\Cms\Item