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