public function updateCMSFields(FieldList $fields)
    {
        $fieldEditor = $this->getFieldEditorGrid();

        $fields->insertAfter(new Tab('FormFields', _t(__CLASS__.'.FORMFIELDS', 'Form Fields')), 'Main');
        $fields->addFieldToTab('Root.FormFields', $fieldEditor);

        return $fields;
    }
public function updateCMSFields(FieldList $fields)
    {
        $fieldEditor = $this->getFieldEditorGrid();

        $fields->insertAfter(new Tab('FormFields', _t(__CLASS__.'.FORMFIELDS', 'Form Fields')), 'Main');
        $fields->addFieldToTab('Root.FormFields', $fieldEditor);

        return $fields;
    }
public function updateCMSFields ( FieldList $ fields ) { $ fieldEditor = $ this -> getFieldEditorGrid ( ) ; $ fields -> insertAfter ( new Tab ( 'FormFields' , _t ( __CLASS__ . '.FORMFIELDS' , 'Form Fields' ) ) , 'Main' ) ; $ fields -> addFieldToTab ( 'Root.FormFields' , $ fieldEditor ) ; return $ fields ; }
Adds the field editor to the page.

@return FieldList
Adds the field editor to the page .