From 8ad5cba994367f5b5fe35a2caaae7ec321ecaebd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Dec 2008 11:36:04 +0000 Subject: - Patch #344661 by Dave Reid: API doc improvements for hook_translation_link_alter. --- modules/translation/translation.module | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/translation/translation.module') diff --git a/modules/translation/translation.module b/modules/translation/translation.module index e7a1f589d..801e556e0 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -335,11 +335,11 @@ function translation_path_get_translations($path) { } /** - * Implementation of hook_alter_translation_link(). + * Implementation of hook_translation_link_alter(). * * Replaces links with pointers to translated versions of the content. */ -function translation_translation_link_alter(&$links, $path) { +function translation_translation_link_alter(array &$links, $path) { if ($paths = translation_path_get_translations($path)) { foreach ($links as $langcode => $link) { if (isset($paths[$langcode])) { @@ -353,4 +353,3 @@ function translation_translation_link_alter(&$links, $path) { } } } - -- cgit v1.2.3