function shorten_token_list in Shorten URLs 6
Implementation of hook_token_list().
File
- ./
shorten.module, line 616 - Shortens URLs via external services.
Code
function shorten_token_list($type = 'all') {
if ($type == 'node' && variable_get('shorten_generate_token', 1)) {
$tokens['shorten'] = array(
'url' => t('The shortened URL for the node.'),
);
return $tokens;
}
}