function SimplenewsSourceInterface::getTokenContext in Simplenews 7
Same name and namespace in other branches
- 7.2 includes/simplenews.source.inc \SimplenewsSourceInterface::getTokenContext()
Returns the token context to be used with token replacements.
Return value
An array of objects as required by token_replace().
2 methods override SimplenewsSourceInterface::getTokenContext()
- SimplenewsSourceNode::getTokenContext in includes/
simplenews.source.inc - Implements SimplenewsSourceInterface::getTokenContext().
- SimplenewsSourceTest::getTokenContext in includes/
simplenews.source.inc - Returns the token context to be used with token replacements.
File
- includes/
simplenews.source.inc, line 90 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceInterface
- The source used to build a newsletter mail.
Code
function getTokenContext();