diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-03 07:28:28 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-03 07:28:28 +0000 |
commit | f63727d1765989e424a98f8133adf4ace0157f83 (patch) | |
tree | 36f417e926f00b450b786042ffdd267ac4290b31 /modules/user/user.api.php | |
parent | ef3235658a5104520c99ae7d5976137b6641068b (diff) | |
download | brdo-f63727d1765989e424a98f8133adf4ace0157f83.tar.gz brdo-f63727d1765989e424a98f8133adf4ace0157f83.tar.bz2 |
- Patch #479966 by Berdir: document and fix hook_user_categories.
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r-- | modules/user/user.api.php | 13 |
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". */ |