public function SimplenewsSourceTest::getTokenContext in Simplenews 7
Same name and namespace in other branches
- 7.2 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 1026 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceTest
- Example source implementation used for tests.
Code
public function getTokenContext() {
return array();
}