function password_policy_variable_info in Password Policy 7
Implements hook_variable_info().
File
- ./
password_policy.variable.inc, line 13
Code
function password_policy_variable_info($options) {
$variables['password_policy_warning_[mail_part]'] = array(
'title' => t('Password Policy warning e-mail'),
'type' => 'mail_text',
'default' => array(
'subject' => PASSWORD_POLICY_DEFAULT_WARNING_SUBJECT,
'body' => PASSWORD_POLICY_DEFAULT_WARNING_BODY,
),
'description' => t('Customize the warning e-mail message, which is sent to remind of password expiration.') . _password_policy_warning_email_tokens_help(),
'group' => 'user_mails',
);
return $variables;
}