You are here

public function MailInterface::getSubject in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getSubject()
  2. 8 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getSubject()

Returns the mail subject.

Return value

string The mail subject.

2 methods override MailInterface::getSubject()
MailEntity::getSubject in src/Mail/MailEntity.php
Returns the mail subject.
MailTest::getSubject in src/Mail/MailTest.php
Returns the mail subject.

File

src/Mail/MailInterface.php, line 45

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

public function getSubject();