public function MailTest::getTokenContext in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getTokenContext()
- 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getTokenContext()
Returns the token context to be used with token replacements.
Return value
array An array of objects as required by token_replace().
Overrides MailInterface::getTokenContext
File
- src/
Mail/ MailTest.php, line 72
Class
- MailTest
- Example mail implementation used for tests.
Namespace
Drupal\simplenews\MailCode
public function getTokenContext() {
return array();
}