Skip to content

Kirby 6.0.0

$block->parent()

Returns the parent model

$block->parent(): ModelWithContent

Return type

Kirby\Cms\ModelWithContent

Parent class

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