Skip to content

Kirby 6.0.0

$modelListField->parentModel()

$modelListField->parentModel(): ModelWithContent

Return type

Kirby\Cms\ModelWithContent

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException If the parent cannot be found or is no model

Parent class

Kirby\Form\Field\ModelListField