Skip to content

Kirby 4.5.0

$modelwithcontent->site()

Returns the parent Site instance

$modelwithcontent->site(): Kirby\Cms\Site

Return type

Kirby\Cms\Site

Parent class

Kirby\Cms\ModelWithContent