You are here

function fieldgroup_group_edit_form_submit in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 6.2 modules/fieldgroup/fieldgroup.module \fieldgroup_group_edit_form_submit()

File

modules/fieldgroup/fieldgroup.module, line 181
Create field groups for CCK fields.

Code

function fieldgroup_group_edit_form_submit($form, &$form_state) {
  $form_values = $form_state['values'];
  $content_type = $form['#content_type'];
  fieldgroup_save_group($content_type['type'], $form_values);
  $form_state['redirect'] = 'admin/content/node-type/' . $content_type['url_str'] . '/fields';
}