Skip to content

Kirby 5.1.1

$block->siblings()

Returns all sibling elements

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

Parameters

Name Type Default
$self bool true

Return type

Kirby\Cms\Blocks

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

Parent class

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