$tabs->findBy()
Find a single element by an attribute and its value
$tabs->findBy(string $attribute, mixed $value): Tab|null
Parameters
| Name | Type | Default |
|---|---|---|
| $attributerequired | string |
no default value |
| $valuerequired | mixed |
no default value |
Return types
Kirby\Blueprint\Tabornull
Parent class
Kirby\Blueprint\Tabs
inherited from Kirby\Toolkit\Collection