function i18n_token_list in Internationalization 5.3
Same name and namespace in other branches
- 5.2 i18n.module \i18n_token_list()
Implementation of hook_token_list().
File
- ./
i18n.module, line 996 - Internationalization (i18n) module
Code
function i18n_token_list($type = 'all') {
$tokens = array();
if ($type == 'node' || $type == 'all') {
$tokens['node']['lang'] = t("Language code of the document.");
}
if ($type == 'taxonomy' || $type == 'all') {
$tokens['taxonomy']['lang'] = t("Language code of the document.");
}
return $tokens;
}