function buddylist2activity_token_list in Activity 5.4
Token module integration. Defines available default tokens.
File
- contrib/
buddylist2activity/ buddylist2activity.module, line 49
Code
function buddylist2activity_token_list($type = 'all') {
if ($type == 'buddylist2activity') {
$tokens['buddylist2activity'] = array(
'possessive' => t('Possessive pronoun indicating whose buddylist ("yours" or "theirs")'),
'buddylist-link' => t("Link to the user's buddylist"),
'buddy-uid' => t('User Id of the person who has been added or removed'),
'buddy' => t('Person who has been added or removed (used for "author" role)'),
'buddy-all' => t('Person who has been added or removed (used for "all" role)'),
'buddy-name' => t("The name of the person who has been added or removed"),
);
$tokens['buddylist2activity'] += buddy_api_translation();
return $tokens;
}
}