Skip to content

Kirby 3.9.8

$api->fieldApi()

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

Parameters

Name Type Default
$model * mixed
$name * string
$path string|null null

Exceptions

Type Description
Kirby\Exception\NotFoundException if the field type cannot be found or the field cannot be loaded

Parent class

Kirby\Cms\Api