Skip to content

Kirby 5.0.1

$file->parent()

Returns the parent object

$file->parent(): Kirby\Cms\Page|Kirby\Cms\Site|Kirby\Cms\User

Return types

Kirby\Cms\PageorKirby\Cms\SiteorKirby\Cms\User

Parent class

Kirby\Cms\File