function logintoboggan_token_info in LoginToboggan 7
Same name and namespace in other branches
- 8 logintoboggan.tokens.inc \logintoboggan_token_info()
Implements hook_token_info().
File
- ./
logintoboggan.tokens.inc, line 11 - Builds placeholder replacement tokens for logintoboggan-related data.
Code
function logintoboggan_token_info() {
$info['tokens']['user']['validate-url'] = array(
'name' => t('Validate URL'),
'description' => t('The URL of the account validation page, provided by logintoboggan.'),
);
$info['tokens']['user']['password'] = array(
'name' => t('Password'),
'description' => t('The password by the user. Avalible only on new user creation.'),
);
return $info;
}