function node_gallery_token_list in Node Gallery 6.2
Same name and namespace in other branches
- 6.3 node_gallery.token.inc \node_gallery_token_list()
- 6 node_gallery.token.inc \node_gallery_token_list()
Implementation of hook_token_list().
File
- ./
node_gallery.token.inc, line 11 - Token module support for the Node Gallery module.
Code
function node_gallery_token_list($type = 'all') {
$tokens = array();
if ($type == 'node' || $type == 'all') {
$tokens['node']['parent-node-gallery-path'] = t('The path of the parent Gallery.');
$tokens['node']['parent-node-gallery-path-raw'] = t('Unfiltered path of the parent Gallery. WARNING - raw user input.');
$tokens['node']['parent-node-gallery-title'] = t('The title of the parent Gallery.');
$tokens['node']['parent-node-gallery-title-raw'] = t('Unfiltered title of the parent Gallery. WARNING - raw user input.');
return $tokens;
}
}