You are here

function user_email_verification_variable_info in User email verification 7

Implements hook_variable_info().

Makes the user_email_verification mail translatable.

File

./user_email_verification.module, line 480
This module allows you to have e-mail verification and in meanwhile allowing the users to type their own passwords. If they do not verify their accounts in a certain time interval the user will be blocked.

Code

function user_email_verification_variable_info($options) {
  $variables['user_email_verification_[mail_part]'] = [
    'type' => 'user_mail',
    'title' => t('User email verification', [], $options),
    'description' => t('Customize verification e-mail messages to verify email address.', [], $options),
    'group' => 'user_mails',
  ];
  return $variables;
}