Skip to content

Kirby 4.5.0

Component::load()

Load a component definition by type

Component::load(string $type): array

Parameters

Name Type Default
$type * string

Return type

array

Parent class

Kirby\Toolkit\Component