You are here

function hook_multiple_email_confirm in Multiple E-mail Addresses 2.x

Same name and namespace in other branches
  1. 6 multiple_email.api.php \hook_multiple_email_confirm()
  2. 7 multiple_email.api.php \hook_multiple_email_confirm()

Signal that an email address has been confirmed, or un-confirmed.

Check $email->confirmed to determine if the email was confirmed or not.

Parameters

$email: The fully-loaded email object created by Multiple Email.

1 invocation of hook_multiple_email_confirm()
multiple_email_confirm_email in ./multiple_email.module
Marks an e-mail address as confirmed in the e-mail registry

File

./multiple_email.api.php, line 31
API functions for Multiple Email module.

Code

function hook_multiple_email_confirm($email) {
  drupal_set_message(t('Now that %email has been confirmed, you may make it your primary address.', array(
    '%email' => $email->mail,
  )));
}