$layoutColumn->indexOf()
Returns the position / index in the collection
$layoutColumn->indexOf(Kirby\Cms\LayoutColumns|null $collection = null): int|false
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | Kirby\Cms\LayoutColumnsornull |
null
|
Return types
intorfalse
This method modifies the existing $layoutcolumn object it is applied to and returns it again.
Parent class
Kirby\Cms\LayoutColumn
inherited from Kirby\Cms\Item