$layout->prevAll()
Returns the beginning of the collection before the current item
$layout->prevAll(Layouts|null $collection = null): Layouts
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\Layoutsornull |
null
|
Return type
Parent class
Kirby\Cms\Layout
inherited from Kirby\Cms\Item