function taxonomy_translation_table_taxonomy_form in Translation table 7
Same name and namespace in other branches
- 6 modules/taxonomy.translation_table.inc \taxonomy_translation_table_taxonomy_form()
Menu callback; Admin form for taxonomy translation.
1 string reference to 'taxonomy_translation_table_taxonomy_form'
- taxonomy_translation_table_data in modules/
taxonomy.translation_table.inc - Implements hook_translation_table_data().
File
- modules/
taxonomy.translation_table.inc, line 25 - Translation table for the taxonomy module.
Code
function taxonomy_translation_table_taxonomy_form($form, &$form_state) {
$languages_selected = isset($_SESSION['translation_table']['languages_selected']) ? $_SESSION['translation_table']['languages_selected'] : locale_language_list('name', FALSE);
$vid = isset($_SESSION['translation_table']['vid']) ? $_SESSION['translation_table']['vid'] : -1;
$form['filter'] = taxonomy_translation_table_taxonomy_filter($languages_selected, $vid);
$form['filtered_form'] = taxonomy_translation_table_taxonomy_filtered_form($languages_selected, $vid);
$form['#submit'][] = 'taxonomy_translation_table_taxonomy_form_submit';
$form['#submit'][] = 'translation_table_submit_translations';
return $form;
}