function genpass_token_info in Generate Password 8
Implements hook_token_info().
File
- ./
genpass.module, line 370 - Contains genpass.module.
Code
function genpass_token_info() {
$info['tokens']['user']['password'] = [
'name' => t('User password'),
'description' => t('Provides user password. May be used only during registration.'),
];
return $info;
}