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