Skip to content

Kirby 4.4.1

$modelwithcontent->root()

Returns the absolute path to the model

$modelwithcontent->root(): string|null

Return type

string|null

Parent class

Kirby\Cms\ModelWithContent