Skip to content

Kirby 4.5.0

new Field()

Creates a new field object

new Field(?Kirby\Cms\ModelWithContent $parent, string $key, mixed $value)

Parameters

Name Type Default
$parent * Kirby\Cms\ModelWithContent|null
$key * string
$value * mixed

Parent class

Kirby\Content\Field