/** * Returns the root field set that this belongs to * * @return FieldList|FormField */ public function rootFieldList() { if ($this->containerField) { return $this->containerField->rootFieldList(); } return $this; }