Skip to content

Kirby 4.5.0

$modelwithcontent->root()

Returns the absolute path to the model

$modelwithcontent->root(): string|null

Return type

string|null

Parent class

Kirby\Cms\ModelWithContent