$collections->load()
Loads collection from php file in a given directory or from plugin extension.
$collections->load(string $name): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $name * | string |
– |
Return type
mixed
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |