Skip to content

Kirby 5.1.4

$kirbyTag->parent()

Returns the parent model

$kirbyTag->parent(): Kirby\Cms\ModelWithContent|null

Return types

Kirby\Cms\ModelWithContentornull

This method modifies the existing $kirbytag object it is applied to and returns it again.

Parent class

Kirby\Text\KirbyTag