$optionsApi->load()
Loads the API content from a remote URL or local file (or from cache)
$optionsApi->load(Kirby\Cms\ModelWithContent $model): array|null
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
Return types
arrayornull
This method modifies the existing $optionsapi object it is applied to and returns it again.