Skip to content

Kirby 5.1.2

$pageSiblings->templateSiblings()

Returns siblings with the same template

$pageSiblings->templateSiblings(bool $self = true): Kirby\Cms\Pages

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Pages

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

Parent class

Kirby\Cms\PageSiblings