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