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