function l10n_update_languages_changed_submit in Localization update 7
Same name and namespace in other branches
- 6 l10n_update.module \l10n_update_languages_changed_submit()
- 7.2 l10n_update.module \l10n_update_languages_changed_submit()
Aditional submit handler for language forms
We need to refresh status when a new language is enabled / disabled
1 string reference to 'l10n_update_languages_changed_submit'
- l10n_update_form_alter in ./
l10n_update.module - Implements hook_form_alter().
File
- ./
l10n_update.module, line 168 - Download translations from remote localization server.
Code
function l10n_update_languages_changed_submit($form, $form_state) {
module_load_include('check.inc', 'l10n_update');
$langcode = $form_state['values']['langcode'];
l10n_update_language_refresh(array(
$langcode,
));
}