You are here

public function MailTest::getIssue in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getIssue()

Returns the newsletter issue entity.

Return value

\Drupal\Core\Entity\ContentEntityInterface Newsletter issue entity.

Overrides MailInterface::getIssue

File

src/Mail/MailTest.php, line 129

Class

MailTest
Example mail implementation used for tests.

Namespace

Drupal\simplenews\Mail

Code

public function getIssue() {
  return NULL;
}