Skip to content

Kirby 6.0.0

$roleField->toArray()

Converts the field to a plain array

$roleField->toArray(): array

Return type

array<string, mixed>

Parent class

Kirby\Panel\Form\Field\RoleField inherited from Kirby\Form\Field