Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
user_profile_form_submit modules/user/user.pages.inc Form submission handler for user_profile_form(). 1
user_profile_form_validate modules/user/user.pages.inc Form validation handler for user_profile_form(). 1
user_rdf_mapping modules/user/user.module Implements hook_rdf_mapping().
user_register_access modules/user/user.module Determines if the current user has access to the user registration page. 1
user_register_form modules/user/user.module Form builder; the user registration form. 5
user_register_submit modules/user/user.module Submit handler for the user registration form. 1
user_register_validate modules/user/user.module Validation function for the user registration form. 1
user_roles modules/user/user.module Retrieve an array of roles matching specified conditions. 19
user_role_change_permissions modules/user/user.module Change permissions for a user role. 16
user_role_delete modules/user/user.module Delete a user role from database. 2
user_role_edit_access modules/user/user.module Menu access callback for user role editing. 1
user_role_grant_permissions modules/user/user.module Grant permissions to a user role. 14
user_role_load modules/user/user.module Fetches a user role by role ID. 2
user_role_load_by_name modules/user/user.module Fetches a user role by role name. 3
user_role_permissions modules/user/user.module Determine the permissions for one or more roles. 2 5
user_role_revoke_permissions modules/user/user.module Revoke permissions from a user role. 6
user_role_save modules/user/user.module Save a user role to the database. 4
user_save modules/user/user.module Save changes to a user account or add a new user. 30
user_schema modules/user/user.install Implements hook_schema().
user_search_access modules/user/user.module Implements hook_search_access().
user_search_execute modules/user/user.module Implements hook_search_execute().
user_search_info modules/user/user.module Implements hook_search_info().
user_session_test_anon_session modules/user/tests/user_session_test.module Page callback. 2
user_session_test_menu modules/user/tests/user_session_test.module Implements hook_menu().
user_set_authmaps 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_system_info_alter modules/user/user.module Implements hook_system_info_alter().
user_theme modules/user/user.module Implements hook_theme().
user_tokens modules/user/user.tokens.inc Implements hook_tokens().
user_token_info modules/user/user.tokens.inc Implements hook_token_info().
user_translated_menu_link_alter modules/user/user.module Implements hook_translated_menu_link_alter().
user_uid_only_optional_to_arg modules/user/user.module Returns $arg or the user ID of the current user if $arg is '%' or empty.
user_uid_optional_load modules/user/user.module Load either a specified or the current user account.
user_uid_optional_to_arg modules/user/user.module Returns $arg or the user ID of the current user if $arg is '%' or empty. 1
user_unblock_user_action modules/user/user.module Unblocks a specific user or the current user, if one is not specified. 1
user_update_7000 modules/user/user.install Increase the length of the password field to accommodate better hashes.
user_update_7001 modules/user/user.install Remove the 'threshold', 'mode' and 'sort' columns from the {users} table.
user_update_7002 modules/user/user.install Convert user time zones from time zone offsets to time zone names.
user_update_7003 modules/user/user.install Update user settings for cancelling user accounts.
user_update_7005 modules/user/user.install Changes the users table to allow longer e-mail addresses.
user_update_7006 modules/user/user.install Add module data to {role_permission}.
user_update_7007 modules/user/user.install Add a weight column to user roles.
user_update_7008 modules/user/user.install If 'user_register' variable was unset in Drupal 6, set it to be the same as the Drupal 6 default setting.
user_update_7009 modules/user/user.install Converts fields that store serialized variables from text to blob.
user_update_7010 modules/user/user.install Update the {user}.signature_format column.
user_update_7011 modules/user/user.install Placeholder function.
user_update_7012 modules/user/user.install Add the user's pictures to the {file_managed} table and make them managed files.
user_update_7013 modules/user/user.install Add user module file usage entries.
user_update_7014 modules/user/user.install Rename the 'post comments without approval' permission.
user_update_7015 modules/user/user.install Change {users}.signature_format into varchar.
user_update_7016 modules/user/user.install Update the database to match the schema.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.