You are here

public function MailTest::setKey in Simplenews 8

Same name and namespace in other branches
  1. 8.2 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 53

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function setKey($key) {
}