You are here

public function MailInterface::getIssue in Simplenews 3.x

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

Returns the newsletter issue entity.

Return value

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

2 methods override MailInterface::getIssue()
MailEntity::getIssue in src/Mail/MailEntity.php
Returns the newsletter issue entity.
MailTest::getIssue in src/Mail/MailTest.php
Returns the newsletter issue entity.

File

src/Mail/MailInterface.php, line 18

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

public function getIssue();