public function MailBuilderInterface::buildNewsletterMail in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailBuilderInterface.php \Drupal\simplenews\Mail\MailBuilderInterface::buildNewsletterMail()
- 3.x src/Mail/MailBuilderInterface.php \Drupal\simplenews\Mail\MailBuilderInterface::buildNewsletterMail()
Build subject and body of the test and normal newsletter email.
Parameters
array $message: Message array as used by hook_mail().
\Drupal\simplenews\Mail\MailInterface $mail: The mail object.
1 method overrides MailBuilderInterface::buildNewsletterMail()
- MailBuilder::buildNewsletterMail in src/
Mail/ MailBuilder.php - Build subject and body of the test and normal newsletter email.
File
- src/
Mail/ MailBuilderInterface.php, line 18
Class
- MailBuilderInterface
- Builds newsletter and confirmation mails.
Namespace
Drupal\simplenews\MailCode
public function buildNewsletterMail(array &$message, MailInterface $mail);