Skip to content

Kirby 5.1.1

$page->templateSiblings()

Returns siblings with the same template

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

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Pages

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

Parent class

Kirby\Cms\Page