Skip to content

Kirby 4.4.1

Component::setup()

Loads all options from the component definition mixes in the defaults from the defaults method and then injects all additional mixins, defined in the component options.

Component::setup(string $type): array

Parameters

Name Type Default
$type * string

Return type

array

Parent class

Kirby\Toolkit\Component