You are here

function certificate_field_grouping_form_submit in Certificate 6

Same name and namespace in other branches
  1. 8.3 certificate.admin.inc \certificate_field_grouping_form_submit()
  2. 6.2 certificate.admin.inc \certificate_field_grouping_form_submit()
  3. 7.3 certificate.admin.inc \certificate_field_grouping_form_submit()
  4. 7.2 certificate.admin.inc \certificate_field_grouping_form_submit()
  5. 3.x certificate.admin.inc \certificate_field_grouping_form_submit()

File

./certificate.admin.inc, line 708
Administrative pages for the module.

Code

function certificate_field_grouping_form_submit(&$form, &$form_state) {
  variable_set('certificate_field_grouping', $form_state['values']['certificate_field_grouping']);
  if (is_array($form_state['values']['certificate_field_groups'])) {
    variable_set('certificate_field_groups', $form_state['values']['certificate_field_groups']);
  }
  drupal_set_message('Grouping settings updated.');
}