Skip to content

Kirby 4.2.0

$structureobject->siblings()

Returns all sibling elements

$structureobject->siblings(bool $self = true): Kirby\Cms\Collection

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\StructureObject inherited from Kirby\Cms\Item