Skip to content

Kirby 5.1.2

$statsField->model()

Returns the parent model

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

Return type

Kirby\Cms\ModelWithContent

This method modifies the existing $statsfield object it is applied to and returns it again.

Parent class

Kirby\Form\Field\StatsField inherited from Kirby\Form\FieldClass