public function MailEntity::getIssue in Simplenews 8.2
Same name and namespace in other branches
- 3.x 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\MailCode
public function getIssue() {
  return $this->issue;
}