$fieldClass->prevAll()
Returns the beginning of the collection before the current item
$fieldClass->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 $fieldclass object it is applied to and returns it again.