function quotes_token_list in Quotes 5
Same name and namespace in other branches
- 6 quotes.module \quotes_token_list()
- 7 quotes.module \quotes_token_list()
Implementation of hook_token_list().
File
- ./
quotes.module, line 2047
Code
function quotes_token_list($type = 'all') {
$tokens = array();
switch ($type) {
case 'all':
case 'node':
$tokens['node']['quotes-author'] = t('The author of this quote.');
$tokens['node']['quotes-author-raw'] = t('The author of this quote. WARNING - raw user input.)');
$tokens['node']['quotes-author-id'] = t('The author id of this quote.)');
break;
}
return $tokens;
}