$field->prevAll()
Returns the beginning of the collection before the current item
$field->prevAll(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.