Skip to content

Kirby 4.5.0

$block->siblings()

Returns all sibling elements

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

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\Block inherited from Kirby\Cms\Item