public function MailTest::setKey in Simplenews 8
Same name and namespace in other branches
- 8.2 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 53
Class
- MailTest
- Example mail implementation used for tests.
Namespace
Drupal\simplenews\MailCode
public function setKey($key) {
}