Skip to content

Kirby 4.4.1

$layoutcolumns->keyOf()

Tries to find the key for the given element

$layoutcolumns->keyOf(mixed $needle): string|int|false

Parameters

Name Type Default Description
$needle * mixed the element to search for

Return type

string|int|false

Parent class

Kirby\Cms\LayoutColumns inherited from Kirby\Toolkit\Iterator