public function MailTest::getSubscriber in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getSubscriber()
- 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getSubscriber()
Returns the subscriber object.
Return value
\Drupal\simplenews\SubscriberInterface Subscriber object.
Overrides MailInterface::getSubscriber
File
- src/
Mail/ MailTest.php, line 136
Class
- MailTest
- Example mail implementation used for tests.
Namespace
Drupal\simplenews\MailCode
public function getSubscriber() {
return NULL;
}