Skip to content

Kirby 4.3.0

$options->findByKey()

Find a single element by key (id)

$options->findByKey(string $key): mixed

Parameters

Name Type Default
$key * string

Return type

mixed

Parent class

Kirby\Option\Options inherited from Kirby\Toolkit\Collection