You are here

public function MailEntity::getIssue in Simplenews 3.x

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

Returns the newsletter issue entity.

Return value

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

Overrides MailInterface::getIssue

2 calls to MailEntity::getIssue()
MailEntity::build in src/Mail/MailEntity.php
Build the entity object.
MailEntity::getTokenContext in src/Mail/MailEntity.php
Returns the token context to be used with token replacements.

File

src/Mail/MailEntity.php, line 211

Class

MailEntity
Default mail class for entities.

Namespace

Drupal\simplenews\Mail

Code

public function getIssue() {
  return $this->issue;
}