Skip to content

Kirby 6.0.1

$hasSiblings->siblings()

Returns all sibling elements

$hasSiblings->siblings(bool $self = true): Collection

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\HasSiblings