Skip to content

Kirby 6.0.0

$toggleField->config()

This method can be used in field plugins to read in additional config options for the field from Kirby's config.

$toggleField->config(): array

Return type

array<string, mixed>

Parent class

Kirby\Form\Field\ToggleField inherited from Kirby\Form\Field