function user_badges_token_list in User Badges 6
Same name and namespace in other branches
- 6.2 user_badges.module \user_badges_token_list()
Implements hook_token_list().
File
- ./
user_badges.module, line 1287 - @brief User Badges module file
Code
function user_badges_token_list($type = 'all') {
if ($type == 'userbadge' || $type == 'all') {
$tokens['userbadge']['userbadge-name'] = t("The badge name");
$tokens['userbadge']['userbadge-bid'] = t("The badge id number (bid)");
return $tokens;
}
}