$areas->find()
Find one or multiple elements by id
$areas->find(string|list ...$keys): Area|Areas
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| ...$keys | stringorlist<string> |
no default value | One or more keys, or a single array of keys |
Return types
Kirby\Panel\AreaorKirby\Panel\Areas
This method does not modify the existing $areas object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Panel\Areas
inherited from Kirby\Toolkit\Collection