You are here

public function MailTest::setKey in Simplenews 8.2

Same name and namespace in other branches
  1. 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::setKey()
  2. 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::setKey()

Set the mail key.

Parameters

string $key: The mail key, either 'test' or 'node'.

Overrides MailInterface::setKey

File

src/Mail/MailTest.php, line 88

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function setKey($key) {
}