$api->fieldApi()
$api->fieldApi($model, string $name, string $path = null)
Parameters
Name | Type | Default |
---|---|---|
$model * | mixed |
– |
$name * | string |
– |
$path | string |
null |
Exceptions
Type | Description |
---|---|
Kirby\Exception\NotFoundException |
if the field type cannot be found or the field cannot be loaded |