Functions - 11.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
update_test_semver_update_n_update_8001 core/modules/system/tests/modules/update_test_semver_update_n/update_test_semver_update_n.install Update 8001. 1
update_test_system_info_alter core/modules/update/tests/modules/update_test/update_test.module Implements hook_system_info_alter().
update_test_update_status_alter core/modules/update/tests/modules/update_test/update_test.module Implements hook_update_status_alter().
update_test_with_7x_update_7200 core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Dummy update_test_with_7x update 7200.
update_test_with_7x_update_7201 core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Dummy update_test_with_7x update 7201.
update_test_with_7x_update_last_removed core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Implements hook_update_last_removed().
update_theme core/modules/update/update.module Implements hook_theme().
update_themes_installed core/modules/update/update.module Implements hook_themes_installed().
update_themes_uninstalled core/modules/update/update.module Implements hook_themes_uninstalled().
update_uninstall core/modules/update/update.install Implements hook_uninstall().
update_update_last_removed core/modules/update/update.install Implements hook_update_last_removed().
update_verify_update_archive core/modules/update/update.module Implements hook_verify_update_archive().
user_access_test_entity_create_access core/modules/user/tests/modules/user_access_test/user_access_test.module Implements hook_entity_create_access().
user_access_test_entity_field_access core/modules/user/tests/modules/user_access_test/user_access_test.module Implements hook_entity_field_access().
user_access_test_user_access core/modules/user/tests/modules/user_access_test/user_access_test.module Implements hook_ENTITY_TYPE_access() for entity type "user".
user_cancel core/modules/user/user.module Cancel a user account. 5
user_cancel_methods core/modules/user/user.module Helper function to return available account cancellation methods. 3
user_cancel_url core/modules/user/user.module Generates a URL to confirm an account cancellation request. 2
user_cookie_delete core/modules/user/user.module Delete a visitor information cookie.
user_cookie_save core/modules/user/user.module Saves visitor information as a cookie so it can be reused. 1
user_element_info_alter core/modules/user/user.module Implements hook_element_info_alter().
user_entity_extra_field_info core/modules/user/user.module Implements hook_entity_extra_field_info().
user_entity_operation core/modules/user/user.module Implements hook_entity_operation().
user_filter_format_disable core/modules/user/user.module Implements hook_filter_format_disable().
user_form_process_password_confirm core/modules/user/user.module Form element process handler for client-side password validation. 1
user_form_system_regional_settings_alter core/modules/user/user.module Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
user_form_system_regional_settings_submit core/modules/user/user.module Additional submit handler for \Drupal\system\Form\RegionalForm. 1
user_form_test_form_user_cancel_form_alter core/modules/user/tests/modules/user_form_test/user_form_test.module Implements hook_form_FORM_ID_alter() for user_cancel_form().
user_help core/modules/user/user.module Implements hook_help().
user_hooks_test_user_format_name_alter core/modules/user/tests/modules/user_hooks_test/user_hooks_test.module Implements hook_user_format_name_alter(). 5
user_install core/modules/user/user.install Implements hook_install(). 4
user_is_blocked

in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead.

core/modules/user/user.module Checks for usernames blocked by user administration. 1
user_js_settings_alter core/modules/user/user.module Implements hook_js_settings_alter().
user_load_by_mail core/modules/user/user.module Fetches a user object by email address. 1
user_load_by_name core/modules/user/user.module Fetches a user object by account name. 7
user_login_finalize core/modules/user/user.module Finalizes the login process and logs in a user. 5
user_logout core/modules/user/user.module Logs the current user out. 5
user_mail core/modules/user/user.module Implements hook_mail(). 3
user_mail_tokens core/modules/user/user.module Token callback to add unsafe tokens for user mails. 2
user_modules_uninstalled core/modules/user/user.module Implements hook_modules_uninstalled().
user_pass_rehash core/modules/user/user.module Creates a unique hash value for use in time-dependent per-user URLs. 12
user_pass_reset_url core/modules/user/user.module Generates a unique URL for a user to log in and reset their password. 7
user_picture_enabled core/modules/user/user.module Returns whether this site supports the default user picture feature. 2
user_preprocess_block core/modules/user/user.module Implements hook_preprocess_HOOK() for block templates.
user_removed_post_updates core/modules/user/user.post_update.php Implements hook_removed_post_updates().
user_requirements core/modules/user/user.install Implements hook_requirements().
user_role_change_permissions core/modules/user/user.module Change permissions for a user role. 21
user_role_grant_permissions core/modules/user/user.module Grant permissions to a user role. 35
user_role_revoke_permissions core/modules/user/user.module Revoke permissions from a user role. 11
user_schema core/modules/user/user.install Implements hook_schema().

Other projects


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