function MailBuilderInterface::buildSubscribeMail in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Mail/MailBuilderInterface.php \Drupal\simplenews\Mail\MailBuilderInterface::buildSubscribeMail()
Build subject and body of the subscribe 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::buildSubscribeMail()
- MailBuilder::buildSubscribeMail in src/
Mail/ MailBuilder.php - Build subject and body of the subscribe confirmation email.
File
- src/
Mail/ MailBuilderInterface.php, line 28
Class
- MailBuilderInterface
- Builds newsletter and confirmation mails.
Namespace
Drupal\simplenews\MailCode
function buildSubscribeMail(array &$message, array $params);