$hasSiblings->siblings()
Returns all sibling elements
$hasSiblings->siblings(bool $self = true): Kirby\Toolkit\Collection
Parameters
Name | Type | Default |
---|---|---|
$self | bool |
true
|
Return type
This method modifies the existing $hassiblings
object it is applied to and returns it again.
Parent class
Kirby\Cms\HasSiblings