You are here

public function MailBuilderInterface::buildSubscribeMail in Simplenews 8.2

Same name and namespace in other branches
  1. 8 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\Mail

Code

public function buildSubscribeMail(array &$message, array $params);