public function MailSystemInterface::format
7.x mail.inc | public MailSystemInterface::format(array $message) |
Format a message composed by drupal_mail() prior sending.
Parameters
$message: A message array, as described in hook_mail_alter().
Return value
The formatted $message.
2 methods override MailSystemInterface::format()
- DefaultMailSystem::format in drupal-7.x/
modules/ system/ system.mail.inc - Concatenate and wrap the e-mail body for plain-text mails.
- MailTestCase::format in drupal-7.x/
modules/ simpletest/ tests/ mail.test - Concatenate and wrap the e-mail body for plain-text mails.
File
- drupal-7.x/
includes/ mail.inc, line 302 - API functions for processing and sending e-mail.
Class
- MailSystemInterface
- An interface for pluggable mail back-ends.
Code
public function format(array $message);