function l10n_update_menu_alter in Localization update 7.2
Same name and namespace in other branches
- 6 l10n_update.module \l10n_update_menu_alter()
- 7 l10n_update.module \l10n_update_menu_alter()
Implements hook_menu_alter().
File
- ./
l10n_update.module, line 180 - Download translations from remote localization server.
Code
function l10n_update_menu_alter(&$menu) {
// Redirect l10n_client AJAX callback path for strings.
if (module_exists('l10n_client')) {
$menu['l10n_client/save']['page callback'] = 'l10n_update_client_save_string';
}
}