public function insertBefore($insertBefore, $field, $appendIfMissing = true)
    {
        if ($field instanceof Tab || $field instanceof TabSet) {
            $field->setTabSet($this);
        }
        return parent::insertBefore($insertBefore, $field, $appendIfMissing);
    }
public function insertBefore($insertBefore, $field, $appendIfMissing = true)
    {
        if ($field instanceof Tab || $field instanceof TabSet) {
            $field->setTabSet($this);
        }
        return parent::insertBefore($insertBefore, $field, $appendIfMissing);
    }
public function insertBefore ( $ insertBefore , $ field , $ appendIfMissing = true ) { if ( $ field instanceof Tab || $ field instanceof TabSet ) { $ field -> setTabSet ( $ this ) ; } return parent :: insertBefore ( $ insertBefore , $ field , $ appendIfMissing ) ; }
Inserts a field before a particular field in a FieldList.

@param string $insertBefore Name of the field to insert before
@param FormField $field The form field to insert
@return FormField|null
Inserts a field before a particular field in a FieldList .