You are here

function vertical_tabs_form_configure_submit in Vertical Tabs 6

1 string reference to 'vertical_tabs_form_configure_submit'
vertical_tabs_form_configure in ./vertical_tabs.module

File

./vertical_tabs.module, line 536
Provides vertical tabs capability for fieldsets in forms.

Code

function vertical_tabs_form_configure_submit($form, &$form_state) {
  $form_id = $form_state['form']['form_id'];
  if ($form_state['values']['vertical_tabs_form']['status']) {
    vertical_tabs_save_config($form_id, $form_state['values']['vertical_tabs_form']['fieldsets']);
  }
  else {
    vertical_tabs_save_config($form_id, FALSE);
  }
}