$api->sectionApi()
Parameters
Name | Type | Default |
---|---|---|
$model * | Kirby\Cms\ModelWithContent |
– |
$name * | string |
– |
$path | string |null |
null |
Return type
mixed
|null
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
if the section type cannot be found or the section cannot be loaded |