You are here

function user_mail_edit_templates in Mail Editor 8

Same name and namespace in other branches
  1. 2.0.x mail_edit.module \user_mail_edit_templates()

Implements hook_mail_edit_keys().

File

./mail_edit.module, line 25
Primary hook implementations for the Mail Edit module.

Code

function user_mail_edit_templates() {
  return [
    'user.mail' => [
      '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'),
    ],
  ];
}