Skip to content

Kirby 4.5.0

$layoutfield->model()

Returns the parent model

$layoutfield->model(): Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\ModelWithContent

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass