summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-11-01 20:29:30 -0400
committerDavid Rothstein <drothstein@gmail.com>2014-11-01 20:29:30 -0400
commitea1c7a94418526cf2298dcd6011a5995e626f3d5 (patch)
treee185e83fc32ff773f31f36822a3553c2d61d30f2
parenta0561f83ea19176258c654a77e132740a01bf08b (diff)
downloadbrdo-ea1c7a94418526cf2298dcd6011a5995e626f3d5.tar.gz
brdo-ea1c7a94418526cf2298dcd6011a5995e626f3d5.tar.bz2
Issue #1120440 by er.pushpinderrana | skwashd: Fixed user.api.php hook summary lines should be more consistent with other entity hooks.
-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 3afc88ab0..e88c7a974 100644
--- a/modules/user/user.api.php
+++ b/modules/user/user.api.php
@@ -386,7 +386,7 @@ function hook_user_view_alter(&$build) {
}
/**
- * Inform other modules that a user role is about to be saved.
+ * Act on a user role being inserted or updated.
*
* Modules implementing this hook can act on the user role object before
* it has been saved to the database.
@@ -405,7 +405,7 @@ function hook_user_role_presave($role) {
}
/**
- * Inform other modules that a user role has been added.
+ * Respond to creation of a new user role.
*
* Modules implementing this hook can act on the user role object when saved to
* the database. It's recommended that you implement this hook if your module
@@ -426,7 +426,7 @@ function hook_user_role_insert($role) {
}
/**
- * Inform other modules that a user role has been updated.
+ * Respond to updates to a user role.
*
* Modules implementing this hook can act on the user role object when updated.
* It's recommended that you implement this hook if your module adds additional
@@ -447,7 +447,7 @@ function hook_user_role_update($role) {
}
/**
- * Inform other modules that a user role has been deleted.
+ * Respond to user role deletion.
*
* This hook allows you act when a user role has been deleted.
* If your module stores references to roles, it's recommended that you