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