function menu_translation_table_menu_filter in Translation table 7
Same name and namespace in other branches
- 6 modules/menu.translation_table.inc \menu_translation_table_menu_filter()
Menu filter.
1 call to menu_translation_table_menu_filter()
- menu_translation_table_menu_form in modules/
menu.translation_table.inc - Menu callback; Admin form for menu translation.
File
- modules/
menu.translation_table.inc, line 38 - Translation table for the menu module.
Code
function menu_translation_table_menu_filter($languages_selected) {
$form['languages_selected'] = array(
'#type' => 'select',
'#title' => t('Languages'),
'#description' => t('Select the languages to display.'),
'#options' => locale_language_list('name', TRUE),
'#default_value' => array_keys($languages_selected),
'#multiple' => TRUE,
);
$form['tt-filter'] = array(
'#type' => 'submit',
'#value' => t('Filter'),
);
$form['#theme'] = 'translation_table_filter';
return $form;
}