function messaging_token_list in Messaging 6
Same name and namespace in other branches
- 6.4 messaging.module \messaging_token_list()
- 6.2 messaging.module \messaging_token_list()
- 6.3 messaging.module \messaging_token_list()
Implementation of hook_token_list(). Documents the individual tokens handled by the module.
File
- ./
messaging.module, line 941
Code
function messaging_token_list($type = 'all') {
$tokens = array();
if ($type == 'message' || $type == 'all') {
$tokens['message']['message-subject'] = t('The message subject.');
$tokens['message']['message-body'] = t('The message body.');
$tokens['message']['message-author-name'] = t('The message\'s author name.');
$tokens['message']['message-method'] = t('The message\'s method name.');
$tokens['message']['message-date'] = t('The message\'s sending date.');
}
return $tokens;
}