$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\LayoutColumns ornull |
null
|
Return types
int
orfalse
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