You are here

function user_mailkeys in Mail Editor 6

Same name and namespace in other branches
  1. 7 modules/mail_edit.user.inc \user_mailkeys()

Implementation of hook_mailkeys().

1 call to user_mailkeys()
logintoboggan_mailkeys in ./mail_edit_logintoboggan.inc
Implementation of hook_mailkeys().

File

./mail_edit_user.inc, line 11
A sample implementation of Mail Editor hooks for User core module.

Code

function user_mailkeys() {
  return array(
    'register_admin_created' => t('Welcome message for user created by the admin'),
    // has password
    'register_no_approval_required' => t('Welcome message when user self-registers'),
    // has password
    'register_pending_approval' => t('Welcome message, user pending admin approval'),
    // has password
    'register_pending_approval_admin' => t('Message to admin, user is pending'),
    // has password
    'password_reset' => t('Password recovery request'),
    'status_activated' => t('Account activated'),
    'status_blocked' => t('Account blocked'),
    'status_deleted' => t('Account deleted'),
  );
}