Functions

Primary tabs

Name Locationsort ascending Description Direct uses Strings
user_block_configure drupal/core/modules/user/user.module Implements hook_block_configure().
user_block_save drupal/core/modules/user/user.module Implements hook_block_save().
user_block_view drupal/core/modules/user/user.module Implements hook_block_view(). 1
user_preprocess_block drupal/core/modules/user/user.module Implements hook_preprocess_HOOK() for block.tpl.php.
user_format_name drupal/core/modules/user/user.module Format a username. 20
user_template_preprocess_default_variables_alter drupal/core/modules/user/user.module Implements hook_template_preprocess_default_variables_alter().
template_preprocess_username drupal/core/modules/user/user.module Preprocesses variables for theme_username().
template_process_username drupal/core/modules/user/user.module Processes variables for theme_username().
theme_username drupal/core/modules/user/user.module Returns HTML for a username, potentially linked to the user's page.
user_is_anonymous drupal/core/modules/user/user.module 7 2
user_is_logged_in drupal/core/modules/user/user.module 2 2
user_register_access drupal/core/modules/user/user.module 1
user_view_access drupal/core/modules/user/user.module User view access callback. 2 1
user_edit_access drupal/core/modules/user/user.module Access callback for user account editing. 1 2
user_cancel_access drupal/core/modules/user/user.module Menu access callback; limit access to account cancellation pages. 1 1
user_menu drupal/core/modules/user/user.module Implements hook_menu().
user_menu_site_status_alter drupal/core/modules/user/user.module Implements hook_menu_site_status_alter().
user_menu_link_alter drupal/core/modules/user/user.module Implements hook_menu_link_alter().
user_menu_breadcrumb_alter drupal/core/modules/user/user.module Implements hook_menu_breadcrumb_alter().
user_translated_menu_link_alter drupal/core/modules/user/user.module Implements hook_translated_menu_link_alter().
user_admin_paths drupal/core/modules/user/user.module Implements hook_admin_paths().
user_uid_only_optional_to_arg drupal/core/modules/user/user.module Returns $arg or the user ID of the current user if $arg is '%' or empty.
user_uid_optional_load drupal/core/modules/user/user.module Load either a specified or the current user account.
user_uid_optional_to_arg drupal/core/modules/user/user.module Returns $arg or the user ID of the current user if $arg is '%' or empty. 1
user_menu_title drupal/core/modules/user/user.module Menu item title callback for the 'user' path. 1
user_page_title drupal/core/modules/user/user.module Menu item title callback - use the user name. 1
user_get_authmaps drupal/core/modules/user/user.module Discover which external authentication module(s) authenticated a username. 1
user_set_authmaps drupal/core/modules/user/user.module Save mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table. 3
user_login_form drupal/core/modules/user/user.module Form builder; the main user login form. 2
user_login_default_validators drupal/core/modules/user/user.module Set up a series for validators which check for blocked users, then authenticate against local database, then return an error if authentication fails. Distributed authentication modules are welcome to use hook_form_alter() to change this series in… 1
user_login_name_validate drupal/core/modules/user/user.module A FAPI validate handler. Sets an error if supplied username has been blocked. 1 1
user_login_authenticate_validate drupal/core/modules/user/user.module A validate handler on the login form. Check supplied username/password against local users table. If successful, $form_state['uid'] is set to the matching user ID. 1
user_login_final_validate drupal/core/modules/user/user.module The final validation handler on the login form. 1
user_authenticate drupal/core/modules/user/user.module Try to validate the user's login credentials locally. 1
user_login_finalize drupal/core/modules/user/user.module Finalize the login process. Must be called when logging in a user. 3
user_login_form_submit drupal/core/modules/user/user.module Submit handler for the login form. Load $user object and perform standard login tasks. The user is then redirected to the My Account page. Setting the destination in the query string overrides the redirect. 3
user_user_login drupal/core/modules/user/user.module Implements hook_user_login().
user_user_logout drupal/core/modules/user/user.module Implements hook_user_logout().
user_external_login_register drupal/core/modules/user/user.module Helper function for authentication modules. Either logs in or registers the current user, based on username. Either way, the global $user object is populated and login tasks are performed.
user_pass_reset_url drupal/core/modules/user/user.module Generates a unique URL for a user to login and reset their password. 2
user_cancel_url drupal/core/modules/user/user.module Generates a URL to confirm an account cancellation request. 2
user_pass_rehash drupal/core/modules/user/user.module Creates a unique hash value for use in time-dependent per-user URLs. 11
user_cancel drupal/core/modules/user/user.module Cancel a user account. 3
_user_cancel drupal/core/modules/user/user.module Last batch processing step for cancelling a user account. 1
user_delete drupal/core/modules/user/user.module Delete a user. 3
user_delete_multiple drupal/core/modules/user/user.module Delete multiple user accounts. 2
user_view_page drupal/core/modules/user/user.module Page callback wrapper for user_view(). 1
user_view drupal/core/modules/user/user.module Generate an array for rendering the given user. 3
user_view_multiple drupal/core/modules/user/user.module Constructs a drupal_render() style array from an array of loaded users.
user_mail drupal/core/modules/user/user.module Implements hook_mail(). 3

Pages

Other projects