Skip to content

Kirby 4.5.0

$file->parents()

Returns a collection of all parent pages

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

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\File