function link_token_list in Link 6
Same name and namespace in other branches
- 6.2 link.module \link_token_list()
- 7 link.module \link_token_list()
File
- ./
link.module, line 589 - 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");
return $tokens;
}
}