You are here

function commerce_checkout_account_email_options_list in Commerce Core 7

Returns the account e-mail types from the User module.

See also

_user_mail_notify()

1 call to commerce_checkout_account_email_options_list()
commerce_checkout_action_send_account_email in modules/checkout/commerce_checkout.rules.inc
Action callback: sends a selected account e-mail.
1 string reference to 'commerce_checkout_account_email_options_list'
commerce_checkout_rules_action_info in modules/checkout/commerce_checkout.rules.inc
Implements hook_rules_action_info().

File

modules/checkout/commerce_checkout.rules.inc, line 78
Rules integration for the checkout process.

Code

function commerce_checkout_account_email_options_list() {
  return array(
    'register_admin_created' => t('Welcome (new user created by administrator)'),
    'register_no_approval_required' => t('Welcome (no approval required)'),
    'register_pending_approval' => t('Welcome (awaiting approval)'),
    'password_reset' => t('Password recovery'),
    'status_activated' => t('Account activation'),
    'status_blocked' => t('Account blocked'),
    'cancel_confirm' => t('Account cancellation confirmation'),
    'status_canceled' => t('Account canceled'),
  );
}