$protectedOption->render()
Renders all data for the option
$protectedOption->render(ModelWithContent $model, bool $safeMode = true): array
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
| $safeMode | bool |
true
|
Return type
array<string, mixed>
Parent class
Kirby\Option\ProtectedOption
inherited from Kirby\Option\Option