You are here

function menu_translation_table_menu_form in Translation table 7

Same name and namespace in other branches
  1. 6 modules/menu.translation_table.inc \menu_translation_table_menu_form()

Menu callback; Admin form for menu translation.

1 string reference to 'menu_translation_table_menu_form'
menu_translation_table_data in modules/menu.translation_table.inc
Implements hook_translation_table_data().

File

modules/menu.translation_table.inc, line 25
Translation table for the menu module.

Code

function menu_translation_table_menu_form($form, &$form_state) {
  $languages_selected = isset($_SESSION['translation_table']['languages_selected']) ? $_SESSION['translation_table']['languages_selected'] : locale_language_list('name', FALSE);
  $form['filter'] = menu_translation_table_menu_filter($languages_selected);
  $form['filtered_form'] = menu_translation_table_menu_filtered_form($languages_selected);
  $form['#submit'][] = 'menu_translation_table_menu_form_submit';
  $form['#submit'][] = 'translation_table_submit_translations';
  return $form;
}