$structure->find()
Find one or multiple elements by id
$structure->find(string ...$keys): Kirby\Cms\StructureObject|Kirby\Cms\Structure
Parameters
Name | Type | Default |
---|---|---|
...$keys | string |
no default value |
Return types
Kirby\Cms\StructureObject
orKirby\Cms\Structure
This method does not modify the existing $structure
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\Structure
inherited from Kirby\Toolkit\Collection