Skip to content

Kirby 3.5.7.1

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