$layout->field()
Returns the parent field if known
$layout->field(): Kirby\Content\Field|null
Return types
Kirby\Content\Field
ornull
This method modifies the existing $layout
object it is applied to and returns it again.
Parent class
Kirby\Cms\Layout
inherited from Kirby\Cms\Item