function _user_categories
Same name and namespace in other branches
- 6.x drupal-6.x/modules/user/user.module \_user_categories()
Retrieve a list of all user setting/information categories and sort them by weight.
2 calls to _user_categories()
- user_category_load in drupal-7.x/
modules/ user/ user.module - Return a user object after checking if any profile category in the path exists.
- user_menu in drupal-7.x/
modules/ user/ user.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ user/ user.module, line 3376 - Enables the user registration and login system.
Código
function _user_categories() {
$categories = module_invoke_all('user_categories');
usort($categories, '_user_sort');
return $categories;
}