$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
This method modifies the existing $page object it is applied to and returns it again.