Skip to content

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

Field::setup(string $type): array

Parameters

Name Type Default
$type * string

Return type

array

Parent class

Kirby\Form\Field inherited from Kirby\Toolkit\Component