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