function email_confirm_variable_info in Email Change Confirmation 7
Implements hook_variable_info().
File
- ./
email_confirm.module, line 161 - The Email Change Confirmation module.
Code
function email_confirm_variable_info($options) {
$type['email_confirm_confirmation_email_subject'] = array(
'type' => 'string',
'title' => t('Email address change request email subject', array(), $options),
'default' => email_confirm_mail_text('confirmation_email_subject', NULL, array(), FALSE),
'description' => t('The above text will be the subject for the email sent to a user that is attempting to update their email address. The placeholders [user:name] and [site:name] will be replaced by the username and the site name.', array(), $options),
'localize' => TRUE,
);
$type['email_confirm_confirmation_email_body'] = array(
'type' => 'string',
'title' => t('Email address change request email body', array(), $options),
'default' => email_confirm_mail_text('confirmation_email_body', NULL, array(), FALSE),
'description' => t("The above text will be the body for the email sent to a user that is attempting to update their email address. The text here will be sent to the user's new email address. The placeholders [user:name] and [site:name] will be replaced by the username and the site name.", array(), $options),
'localize' => TRUE,
);
$type['email_confirm_confirmation_original_email_body'] = array(
'type' => 'string',
'title' => t('Email address change request email body (Original)', array(), $options),
'default' => email_confirm_mail_text('confirmation_original_email_body', NULL, array(), FALSE),
'description' => t("The above text will be the body for the email sent to a user that is attempting to update their email address. The text here will be sent to the user's original email address. The placeholders [user:name] and [site:name] will be replaced by the username and the site name.", array(), $options),
'localize' => TRUE,
);
return $type;
}