function views_bookmarkactivity_token_list in Activity 5.3
Same name and namespace in other branches
- 5.4 contrib/views_bookmarkactivity/views_bookmarkactivity.module \views_bookmarkactivity_token_list()
Token module integration.
File
- contrib/
views_bookmarkactivity/ views_bookmarkactivity.module, line 33
Code
function views_bookmarkactivity_token_list($type = 'all') {
if ($type == 'views_bookmarkactivity') {
$tokens['views_bookmarkactivity'] = array(
'node-id' => t('Id of the node that was bookmarked'),
'operation' => t('The verb of the operation that took place, eg. "mark", "unmark"'),
'author' => t('Person who bookmarked the node'),
'node-title' => t('Title of the node that was bookmarked'),
'node-title-link' => t('Link to the node that was bookmarked'),
'node-type' => t('The type of the node that was bookmarked'),
'author-name' => t('The name of who bookmarked the node'),
);
return $tokens;
}
}