function views_bookmarkactivity_token_list in Activity 5.4
Same name and namespace in other branches
- 5.3 contrib/views_bookmarkactivity/views_bookmarkactivity.module \views_bookmarkactivity_token_list()
Token module integration. Defines available default tokens.
File
- contrib/
views_bookmarkactivity/ views_bookmarkactivity.module, line 46
Code
function views_bookmarkactivity_token_list($type = 'all') {
if ($type == 'views_bookmarkactivity') {
$tokens['views_bookmarkactivity'] = array(
'node-type' => t('The node type of the node that was bookmarked'),
'node-id' => t('Id of the node that was bookmarked'),
'node-title' => t('Title of the node that was bookmarked'),
'node-link' => t('Link to the node that was bookmarked'),
);
return $tokens;
}
}