Skip to content

Kirby 4.4.1

$loader->component()

Loads a core component closure

$loader->component(string $name): Closure|null

Parameters

Name Type Default
$name * string

Return type

Closure|null

Parent class

Kirby\Cms\Loader