'Varchar(255)', 'ChildFieldBeforeExtension' => 'Varchar(255)' ); public function getCMSFields() { $this->beforeExtending('updateCMSFields', function (FieldList $fields) { $fields->addFieldToTab('Root.Test', new TextField('ChildFieldBeforeExtension')); }); $this->afterExtending('updateCMSFields', function (FieldList $fields) { $fields->removeByName('ExtendedFieldRemove', true); }); $fields = parent::getCMSFields(); $fields->addFieldToTab('Root.Test', new TextField('ChildField')); return $fields; } }