diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-03 01:15:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-03 01:15:34 +0000 |
commit | 8ec40cc27a72e3dec43d80432a3250af7c03aed3 (patch) | |
tree | fcc37f6506cc2e8c511399584a899c40c70e0772 /modules/user/user.api.php | |
parent | 69e9e3e3a2c2d52a149914565fa451ed967280e1 (diff) | |
download | brdo-8ec40cc27a72e3dec43d80432a3250af7c03aed3.tar.gz brdo-8ec40cc27a72e3dec43d80432a3250af7c03aed3.tar.bz2 |
- Patch #922824 by plach: no way to specify the language to view entities in.
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r-- | modules/user/user.api.php | 4 |
1 files changed, 3 insertions, 1 deletions
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', |