function user_relationshipsactivity_token_list in Activity 6
Same name and namespace in other branches
- 5.4 contrib/user_relationshipsactivity/user_relationshipsactivity.module \user_relationshipsactivity_token_list()
- 5.3 contrib/user_relationshipsactivity/user_relationshipsactivity.module \user_relationshipsactivity_token_list()
Token module integration. Defines available default tokens.
File
- contrib/
user_relationshipsactivity/ user_relationshipsactivity.module, line 69
Code
function user_relationshipsactivity_token_list($type = 'all') {
if ($type == 'user_relationshipsactivity') {
$tokens['user_relationshipsactivity'] = array(
'requestee-uid' => t('User id of the person to whom the request was issued'),
'requestee' => t('Themed username of the person who received the request'),
'requestee-all' => t('Themed username of the person who received the request'),
'requestee-name' => t('The username of the person to whom the request was issued'),
'requestee-picture' => t('The user picture of the person to whom the request was issued'),
'relationship' => t('The name of the relationship'),
'relationship-plural' => t('The plural name of the relationship'),
);
return $tokens;
}
}