Skip to content

Kirby 6.0.0

$optionsApi->load()

Loads the API content from a remote URL or local file

$optionsApi->load(ModelWithContent $model): array|null

Parameters

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

Return types

arrayornull

Parent class

Kirby\Option\OptionsApi