Skip to content

Kirby 3.9.8

Section::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.

Section::setup(string $type): array

Parameters

Name Type Default
$type * string

Return type

array

Parent class

Kirby\Cms\Section inherited from Kirby\Toolkit\Component