public function MailBuilderInterface::buildUnsubscribeMail in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailBuilderInterface.php \Drupal\simplenews\Mail\MailBuilderInterface::buildUnsubscribeMail()
Build subject and body of the unsubscribe confirmation email.
Parameters
array $message: Message array as used by hook_mail().
array $params: Parameter array as used by hook_mail().
1 method overrides MailBuilderInterface::buildUnsubscribeMail()
- MailBuilder::buildUnsubscribeMail in src/
Mail/ MailBuilder.php - Build subject and body of the unsubscribe confirmation email.
File
- src/
Mail/ MailBuilderInterface.php, line 48
Class
- MailBuilderInterface
- Builds newsletter and confirmation mails.
Namespace
Drupal\simplenews\MailCode
public function buildUnsubscribeMail(array &$message, array $params);