Skip to content

Kirby 4.4.1

$file->parents()

Returns a collection of all parent pages

$file->parents(): Kirby\Cms\Pages

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\File