public function SimplenewsSourceTest::getTokenContext in Simplenews 7.2
Same name and namespace in other branches
- 7 includes/simplenews.source.inc \SimplenewsSourceTest::getTokenContext()
Returns the token context to be used with token replacements.
Return value
An array of objects as required by token_replace().
Overrides SimplenewsSourceInterface::getTokenContext
File
- includes/
simplenews.source.inc, line 1089 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceTest
- Example source implementation used for tests.
Code
public function getTokenContext() {
return array();
}