Skip to content

Kirby 6.0.0

$layout->field()

Returns the parent field if known

$layout->field(): Field|null

Return types

Kirby\Content\Fieldornull

Parent class

Kirby\Cms\Layout inherited from Kirby\Cms\Item