You are here

function SimplenewsSourceInterface::getTokenContext in Simplenews 7.2

Same name and namespace in other branches
  1. 7 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()
SimplenewsSourceEntity::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();