Skip to content

Kirby 3.6.6

$api->fieldApi()

$api->fieldApi(mixed $model, string $name, string $path = null): mixed

Parameters

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

Parent class

Kirby\Cms\Api