Skip to content

Kirby 5.0.4

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
$typerequired string no default value

Return type

array

Parent class

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