public function MailTest::getKey in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getKey()
- 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getKey()
Returns the mail key to be used for mails.
Return value
string The mail key, either test or node.
Overrides MailInterface::getKey
File
- src/
Mail/ MailTest.php, line 81
Class
- MailTest
- Example mail implementation used for tests.
Namespace
Drupal\simplenews\MailCode
public function getKey() {
return 'node';
}