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