You are here

function user_hook_info in Drupal 6

Implementation of hook_hook_info().

File

modules/user/user.module, line 2298
Enables the user registration and login system.

Code

function user_hook_info() {
  return array(
    'user' => array(
      'user' => array(
        'insert' => array(
          'runs when' => t('After a user account has been created'),
        ),
        'update' => array(
          'runs when' => t("After a user's profile has been updated"),
        ),
        'delete' => array(
          'runs when' => t('After a user has been deleted'),
        ),
        'login' => array(
          'runs when' => t('After a user has logged in'),
        ),
        'logout' => array(
          'runs when' => t('After a user has logged out'),
        ),
        'view' => array(
          'runs when' => t("When a user's profile is being viewed"),
        ),
      ),
    ),
  );
}