$layoutColumn->prev()
Returns the previous item in the collection if available
$layoutColumn->prev(Kirby\Cms\LayoutColumns|null $collection = null): Kirby\Cms\LayoutColumn|null
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\LayoutColumns ornull |
null
|
Return types
Kirby\Cms\LayoutColumn
ornull
This method does not modify the existing $layoutcolumn
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\LayoutColumn
inherited from Kirby\Cms\Item