public function ForwardMailSystem::format in Forward 7
Same name and namespace in other branches
- 7.3 forward.mail.inc \ForwardMailSystem::format()
- 7.2 forward.module \ForwardMailSystem::format()
Concatenate and wrap the e-mail body for plain-text mails.
Parameters
$message: A message array, as described in hook_mail_alter().
Return value
The formatted $message.
Overrides MailSystemInterface::format
File
- ./
forward.module, line 1631
Class
- ForwardMailSystem
- Modify the drupal mail system to send HTML emails for the forward module.
Code
public function format(array $message) {
$message['body'] = implode("\n\n", $message['body']);
return $message;
}