summaryrefslogtreecommitdiff
path: root/modules/user/user.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r--modules/user/user.api.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php
index 72608ecfa..481002b41 100644
--- a/modules/user/user.api.php
+++ b/modules/user/user.api.php
@@ -314,10 +314,10 @@ function hook_user_logout($account) {
*
* @param $account
* The user object on which the operation is being performed.
- * @param $build_mode
- * Build mode, e.g. 'full'.
+ * @param $view_mode
+ * View mode, e.g. 'full'.
*/
-function hook_user_view($account, $build_mode) {
+function hook_user_view($account, $view_mode) {
if (user_access('create blog content', $account)) {
$account->content['summary']['blog'] = array(
'#type' => 'user_profile_item',
@@ -402,7 +402,7 @@ function hook_user_role_update($role) {
* Inform other modules that a user role has been deleted.
*
* This hook allows you act when a user role has been deleted.
- * If your module stores references to roles, it's recommended that you
+ * If your module stores references to roles, it's recommended that you
* implement this hook and delete existing instances of the deleted role
* in your module database tables.
*