Skip to content

Kirby 5.1.1

$layouts->field()

Returns the parent field if known

$layouts->field(): Kirby\Content\Field|null

Return types

Kirby\Content\Fieldornull

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

Parent class

Kirby\Cms\Layouts inherited from Kirby\Cms\Items