Skip to content

Kirby 4.4.1

$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

Parent class

Kirby\Cms\Collections