Skip to content

Kirby 5.3.3

$option->render()

Renders all data for the option

$option->render(Kirby\Cms\ModelWithContent $model, bool $safeMode = true): array

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$safeMode bool true

Return type

array

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

Parent class

Kirby\Option\Option