You are here

function rpt_token_info in Registration Password Token 8

Same name and namespace in other branches
  1. 7 rpt.module \rpt_token_info()

Implements hook_token_info().

File

./rpt.module, line 88
Registration Password Token module.

Code

function rpt_token_info() {
  $info['tokens']['user']['password'] = [
    'name' => t('User password'),
    'description' => t('Provides user password. May be used only during registration.'),
  ];
  return $info;
}