Skip to content

Kirby 6.0.0

$modelWithContent->root()

Returns the absolute path to the model

$modelWithContent->root(): string|null

Return types

stringornull

Parent class

Kirby\Cms\ModelWithContent