public function MailTest::getSubscriber in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getSubscriber()
- 8 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;
}