From 8ec40cc27a72e3dec43d80432a3250af7c03aed3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 3 Oct 2010 01:15:34 +0000 Subject: - Patch #922824 by plach: no way to specify the language to view entities in. --- modules/user/user.api.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/user/user.api.php') diff --git a/modules/user/user.api.php b/modules/user/user.api.php index 21a10bf67..d6723db14 100644 --- a/modules/user/user.api.php +++ b/modules/user/user.api.php @@ -314,8 +314,10 @@ function hook_user_logout($account) { * The user object on which the operation is being performed. * @param $view_mode * View mode, e.g. 'full'. + * @param $langcode + * The language code used for rendering. */ -function hook_user_view($account, $view_mode) { +function hook_user_view($account, $view_mode, $langcode) { if (user_access('create blog content', $account)) { $account->content['summary']['blog'] = array( '#type' => 'user_profile_item', -- cgit v1.2.3