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