$items->findBy()
Find a single element by an attribute and its value
Parameters
Name | Type | Default |
---|---|---|
$attribute * | string |
– |
$value * | mixed |
– |
Return type
mixed
|null
Parent class
Kirby\Cms\Items
inherited from Kirby\Cms\Collection