function i18ntaxonomy_token_list in Internationalization 6
Implementation of hook_token_list().
File
- i18ntaxonomy/
i18ntaxonomy.module, line 1036 - i18n taxonomy module
Code
function i18ntaxonomy_token_list($type = 'all') {
if ($type == 'node' || $type == 'all' || $type == 'taxonomy') {
$tokens['i18ntaxonomy']['i18n-term-raw'] = t("Unescaped term name translated using i18n");
$tokens['i18ntaxonomy']['i18n-term'] = t("Escaped term name translated using i18n");
return $tokens;
}
}