You are here

function user_email_verification_token_info in User email verification 8

Same name and namespace in other branches
  1. 7 user_email_verification.tokens.inc \user_email_verification_token_info()

Implements hook_token_info().

File

./user_email_verification.tokens.inc, line 14
Builds placeholder replacement tokens for user-related data.

Code

function user_email_verification_token_info() {
  $info['tokens']['user']['verify-email'] = [
    'name' => t('Verify-email URL'),
    'description' => t('The URL to verify the user Email.'),
  ];
  $info['tokens']['user']['verify-email-extended'] = [
    'name' => t('Verify-email extended URL'),
    'description' => t('The URL to verify the user Email after initial timeout period.'),
  ];
  return $info;
}