Skip to content

Kirby 4.1.2

$file->parent()

Returns the parent object

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

Return type

Kirby\Cms\Page|Kirby\Cms\Site|Kirby\Cms\User

Parent class

Kirby\Cms\File