Skip to content

Kirby 6.0.0

$toggleField->type()

Returns the type of the field

$toggleField->type(): string

Return type

string

Parent class

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