function nodereference_count_token_list in Nodereference Count 6
Implementation of hook_token_list().
File
- ./
nodereference_count.module, line 296 - Defines a field type for counting the references to a node.
Code
function nodereference_count_token_list($type = 'all') {
if ($type == 'field' || $type == 'all') {
$tokens = array();
$tokens['nodereference_count']['count'] = t('Number of node references.');
return $tokens;
}
}