function quicktabs_translation_table_quicktabs_form in Translation table 6
Same name and namespace in other branches
- 7 modules/quicktabs.translation_table.inc \quicktabs_translation_table_quicktabs_form()
Menu callback; Admin form for quicktabs translation.
1 string reference to 'quicktabs_translation_table_quicktabs_form'
- quicktabs_translation_table_data in modules/
quicktabs.translation_table.inc - Implementation of hook_translation_table_data().
File
- modules/
quicktabs.translation_table.inc, line 25 - Translation table for the quicktabs module.
Code
function quicktabs_translation_table_quicktabs_form(&$form_state) {
$languages_selected = isset($_SESSION['translation_table']['languages_selected']) ? $_SESSION['translation_table']['languages_selected'] : locale_language_list('name', FALSE);
$machine_name = isset($_SESSION['translation_table']['machine_name']) ? $_SESSION['translation_table']['machine_name'] : 0;
$form['filter'] = quicktabs_translation_table_quicktabs_filter($languages_selected, $machine_name);
$form['filtered_form'] = quicktabs_translation_table_quicktabs_filtered_form($languages_selected, $machine_name);
$form['#submit'][] = 'quicktabs_translation_table_quicktabs_form_submit';
$form['#submit'][] = 'translation_table_submit_translations';
return $form;
}