From f63727d1765989e424a98f8133adf4ace0157f83 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 3 Jun 2009 07:28:28 +0000 Subject: - Patch #479966 by Berdir: document and fix hook_user_categories. --- modules/user/user.api.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/user/user.api.php') 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". */ -- cgit v1.2.3