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