Skip to content

Kirby 5.0.4

$file->templateSiblings()

Returns siblings with the same template

$file->templateSiblings(bool $self = true): Kirby\Cms\Files

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Files

This method modifies the existing $file object it is applied to and returns it again.

Parent class

Kirby\Cms\File