$layouts->keyOf()
Tries to find the key for the given element
Parameters
Name | Type | Default | Description |
---|---|---|---|
$needle * | mixed |
– | the element to search for |
Return type
string
|int
|false
Parent class
Kirby\Cms\Layouts
inherited from Kirby\Toolkit\Iterator