diff --git a/modules/locale/locale.api.php b/modules/locale/locale.api.php index c454c69a4469dd038ee3e60040e2419a7592cc7b..6f6504f4b4d9b79a4f9ec6eb061594451ad4f2ae 100644 --- a/modules/locale/locale.api.php +++ b/modules/locale/locale.api.php @@ -38,7 +38,7 @@ function hook_locale($op = 'groups') { * @param $path * The current path. */ -function hook_language_switch_link_alter(array &$links, $type, $path) { +function hook_language_switch_links_alter(array &$links, $type, $path) { global $language; if ($type == LANGUAGE_TYPE_CONTENT && isset($links[$language])) { diff --git a/modules/translation/translation.module b/modules/translation/translation.module index 0fb3ea92aeeed81cc9667f8ecab02daa36f13ebb..bd927e83ecedcc34096d30b3b2e656761ffe6507 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -435,7 +435,7 @@ function translation_path_get_translations($path) { } /** - * Implements hook_language_switch_link_alter(). + * Implements hook_language_switch_links_alter(). * * Replaces links with pointers to translated versions of the content. */