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.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php
index cb8ead77b..ae1b55464 100644
--- a/modules/user/user.api.php
+++ b/modules/user/user.api.php
@@ -251,6 +251,19 @@ function hook_user_operations() {
return $operations;
}
+
+/**
+ * Retrieve a list of all user setting/information categories.
+ */
+function hook_user_categories() {
+ return array(array(
+ 'name' => 'account',
+ 'title' => t('Account settings'),
+ 'weight' => 1,
+ ));
+}
+
+
/**
* @} End of "addtogroup hooks".
*/