Skip to content

Kirby 5.0.4

$structureObject->field()

Returns the parent field if known

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

Return types

Kirby\Content\Fieldornull

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

Parent class

Kirby\Cms\StructureObject inherited from Kirby\Cms\Item