Skip to content

Kirby 6.0.0

$siblings->next()

Returns the next item in the collection if available

$siblings->next(TCollection|null $collection = null): Siblings|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Form\Mixin\Siblingsornull

This method does not modify the existing $siblings object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Form\Mixin\Siblings