function taxonomy_translation_table_taxonomy_form_submit in Translation table 6
Same name and namespace in other branches
- 7 modules/taxonomy.translation_table.inc \taxonomy_translation_table_taxonomy_form_submit()
 
Submit handler for the taxonomy translation form.
1 string reference to 'taxonomy_translation_table_taxonomy_form_submit'
- taxonomy_translation_table_taxonomy_form in modules/
taxonomy.translation_table.inc  - Menu callback; Admin form for taxonomy translation.
 
File
- modules/
taxonomy.translation_table.inc, line 143  - Translation table for the taxonomy module.
 
Code
function taxonomy_translation_table_taxonomy_form_submit($form, &$form_state) {
  switch ($form_state['clicked_button']['#id']) {
    case 'edit-filter':
    case 'edit-submit':
      $_SESSION['translation_table']['vid'] = $form_state['values']['vid'];
      $_SESSION['translation_table']['languages_selected'] = array_intersect_key(locale_language_list('name', TRUE), $form_state['values']['languages_selected']);
      break;
  }
}