function taxonomy_translation_table_taxonomy_form_submit in Translation table 7
Same name and namespace in other branches
- 6 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 171 - Translation table for the taxonomy module.
Code
function taxonomy_translation_table_taxonomy_form_submit($form, &$form_state) {
switch ($form_state['triggering_element']['#id']) {
case 'edit-tt-filter':
case 'edit-tt-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;
}
}