user.api.php

Hooks provided by the User module.

File

drupal/core/modules/user/user.api.php
View source

Functions

Namesort descending Description
hook_user_cancel Act on user account cancellations.
hook_user_cancel_methods_alter Modify account cancellation methods.
hook_user_delete Respond to user deletion.
hook_user_format_name_alter Alter the username that is displayed for a user.
hook_user_insert Respond to creation of a new user account.
hook_user_load Act on user objects when loaded from the database.
hook_user_login The user just logged in.
hook_user_logout The user just logged out.
hook_user_operations Add mass user operations.
hook_user_predelete Act before user deletion.
hook_user_presave Act on a user account being inserted or updated.
hook_user_role_delete Inform other modules that a user role has been deleted.
hook_user_role_insert Inform other modules that a user role has been added.
hook_user_role_presave Inform other modules that a user role is about to be saved.
hook_user_role_update Inform other modules that a user role has been updated.
hook_user_update Respond to updates to a user account.
hook_user_view The user's account information is being displayed.
hook_user_view_alter The user was built; the module may modify the structured content.