You are here

function SimplenewsSourceInterface::getKey in Simplenews 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews.source.inc \SimplenewsSourceInterface::getKey()

Returns the mail key to be used for drupal_mail().

Return value

The mail key, either test or node.

2 methods override SimplenewsSourceInterface::getKey()
SimplenewsSourceNode::getKey in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::getKey().
SimplenewsSourceTest::getKey in includes/simplenews.source.inc
Returns the mail key to be used for drupal_mail().

File

includes/simplenews.source.inc, line 98
Contains SimplenewsSource interface and implementations.

Class

SimplenewsSourceInterface
The source used to build a newsletter mail.

Code

function getKey();