public function resolveGroups($formType)
    {
        $formGroups = null;
        if (isset($this->formConfig[$formType]['default_groups'])) {
            $formGroups = $this->formConfig[$formType]['default_groups'];
        }

        if(is_array($formGroups)) {
            $groups = $formGroups;
        } else {
            $groups = $this->defaultGroups;
        }

        return $this->groupManager->getGroupsByCodes($groups);
    }