Skip to content

Kirby 6.0.0

$templateField->toArray()

Converts the field to a plain array

$templateField->toArray(): array

Return type

array<string, mixed>

Parent class

Kirby\Panel\Form\Field\TemplateField inherited from Kirby\Form\Field