function hook_pm_email_notify_token_alter in Privatemsg 6.2
Alter the private message e-mail token mapping.
Parameters
$tokens: Array of mappings from token names to values (for use with strtr()).
$recipient: The recipient of the private message being sent.
$message: The private message array being sent. Must contain at least the fields 'author', 'subject', 'thread_id' and 'body'.
$language: The language of the private message being sent.
See also
1 invocation of hook_pm_email_notify_token_alter()
- _pm_email_notify_token in pm_email_notify/
pm_email_notify.module - Return an array of token to value mappings for user e-mail messages.
File
- pm_email_notify/
pm_email_notify.api.php, line 23 - Private Messages via Email API Documentation
Code
function hook_pm_email_notify_token_alter(&$tokens, $recipient, $message, $language) {
}