Skip to content

Kirby 6.0.0

$form->toFormValues()

Returns an array with the form value of each field (e.g. used as data for Panel Vue components)

$form->toFormValues(): array

Return type

array<string, mixed>

Parent class

Kirby\Form\Form