function link_token_list in Link 6.2
Same name and namespace in other branches
- 6 link.module \link_token_list()
- 7 link.module \link_token_list()
File
- ./
link.module, line 433 - Defines simple link field types.
Code
function link_token_list($type = 'all') {
if ($type == 'field' || $type == 'all') {
$tokens = array();
$tokens['link']['url'] = t("Link URL");
$tokens['link']['title'] = t("Link title");
$tokens['link']['view'] = t("Formatted html link");
$tokens['link']['host'] = t("Link host");
return $tokens;
}
}