function user_mailkeys in Mail Editor 7
Same name and namespace in other branches
- 6 mail_edit_user.inc \user_mailkeys()
Implements hook_mailkeys().
Return value
array
1 call to user_mailkeys()
- logintoboggan_mailkeys in modules/
mail_edit.logintoboggan.inc - Implements hook_mailkeys().
File
- modules/
mail_edit.user.inc, line 13 - A sample implementation of Mail Editor hooks for User core module.
Code
function user_mailkeys() {
return array(
'register_no_approval_required' => t('Welcome message when user self-registers'),
'register_admin_created' => t('Welcome message for user created by the admin'),
'register_pending_approval' => t('Welcome message, user pending admin approval'),
'register_pending_approval_admin' => t('Message to admin, user is pending'),
'password_reset' => t('Password recovery request'),
'status_activated' => t('Account activated'),
'status_blocked' => t('Account blocked'),
'cancel_confirm' => t('Request to confirm cancelation'),
'status_canceled' => t('Account canceled'),
);
}