You are here

public function MailTest::getSubject in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getSubject()
  2. 8 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 115

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function getSubject() {
  return 'the subject';
}