Commit db4fa95f authored by webchick's avatar webchick

#675144 by jhodgdon: Typo: translation_language_switch_links_alter() should be linkS alter().

parent 102a6829
......@@ -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])) {
......
......@@ -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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment