Skip to content

Kirby 6.0.0

$fieldOptions->render()

$fieldOptions->render(ModelWithContent $model, array $values = []): array

Parameters

Name Type Default Description
$modelrequired Kirby\Cms\ModelWithContent no default value
$values array [] Values of the field; models the current user must not list only show up as placeholders for them

Return type

array

Parent class

Kirby\Form\FieldOptions