Skip to content

Kirby 4.5.0

$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