$blocksField->next()
Returns the next item in the collection if available
$blocksField->next(TCollection|null $collection = null): Kirby\Form\Field\BlocksField|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | TCollectionornull |
null
|
Return types
Kirby\Form\Field\BlocksFieldornull
This method does not modify the existing $blocksfield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\BlocksField
inherited from Kirby\Form\FieldClass