$field->nextAll()
Returns the end of the collection starting after the current item
$field->nextAll(Kirby\Form\Fields|null $collection = null): Kirby\Form\Fields
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Form\Fieldsornull |
null
|
Return type
This method modifies the existing $field object it is applied to and returns it again.