Skip to content

Kirby 5.6.4

$fieldOptions->resolve()

$fieldOptions->resolve(Kirby\Cms\ModelWithContent $model, array $keep = [ ]): Kirby\Option\Options

Parameters

Name Type Default Description
$modelrequired Kirby\Cms\ModelWithContent no default value
$keep array [ ] Values of models the current user must not list
that are kept as placeholders (e.g. stored values)

Return type

Kirby\Option\Options

This method modifies the existing $fieldoptions object it is applied to and returns it again.

Parent class

Kirby\Field\FieldOptions