Formats a message composed by drupal_mail() prior sending.
Parameters
array $message:
A message array, as described in hook_mail_alter().
Return value
array
The formatted $message.
File
- drupal/core/lib/Drupal/Core/Mail/MailInterface.php, line 24
- Definition of Drupal\Core\Mail\MailInterface.
Class
- MailInterface
- Defines an interface for pluggable mail back-ends.
Namespace
Drupal\Core\Mail
Code
public function format(array $message);