public function MailTest::setKey in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::setKey()
- 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\MailCode
public function setKey($key) {
}