function lingotek_setup_additional_translation_settings_form_submit in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.setup.inc \lingotek_setup_additional_translation_settings_form_submit()
- 7.3 lingotek.setup.inc \lingotek_setup_additional_translation_settings_form_submit()
- 7.5 lingotek.setup.inc \lingotek_setup_additional_translation_settings_form_submit()
- 7.6 lingotek.setup.inc \lingotek_setup_additional_translation_settings_form_submit()
1 string reference to 'lingotek_setup_additional_translation_settings_form_submit'
File
- ./
lingotek.setup.inc, line 964
Code
function lingotek_setup_additional_translation_settings_form_submit($form, &$form_state) {
// WTD: process the submitted options
$operations = array();
$cleanup_batch = lingotek_cleanup_utility(FALSE, FALSE);
// return the batch, rather than autoset to execute
if ($cleanup_batch && isset($cleanup_batch['operations'])) {
$operations = array_merge($operations, $cleanup_batch['operations']);
}
$_SESSION['lingotek_setup_path'][] = 'admin/config/lingotek/additional-translation-settings';
lingotek_admin_additional_translation_settings_form_submit($form, $form_state, $additional_operations = $operations);
}