public function MailInterface::getSubscriber in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getSubscriber()
- 8 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getSubscriber()
Returns the subscriber object.
Return value
\Drupal\simplenews\SubscriberInterface Subscriber object.
2 methods override MailInterface::getSubscriber()
- MailEntity::getSubscriber in src/
Mail/ MailEntity.php - Returns the subscriber object.
- MailTest::getSubscriber in src/
Mail/ MailTest.php - Returns the subscriber object.
File
- src/
Mail/ MailInterface.php, line 26
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
public function getSubscriber();