You are here

function taxonomy_menu_group_term_submit in Taxonomy menu 6.3

Submit Handler for Add Term Set button

1 string reference to 'taxonomy_menu_group_term_submit'
taxonomy_menu_group_form in ./taxonomy_menu.admin.inc
Implementation of hook_form().

File

./taxonomy_menu.admin.inc, line 296
admin section for taxonomy menu

Code

function taxonomy_menu_group_term_submit($form, &$form_state) {
  $menu_set = array(
    'mgid' => $form_state['values']['mgid'],
    'tsid' => $form_state['values']['term_set'],
    'parent_item' => $form_state['values']['term_set_parent'],
  );
  taxonomy_menu_save_menu_set_rtln($menu_set);
  $form_values = $form_state['values'];
  unset($form_state['submit_handlers']);
  form_execute_handlers('submit', $form, $form_state);
  $form_state['storage'] = $form_values;
  $form_state['rebuild'] = TRUE;
}