You are here

public function SimplenewsSourceTest::getKey in Simplenews 7.2

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

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

Return value

The mail key, either test or node.

Overrides SimplenewsSourceInterface::getKey

File

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

Class

SimplenewsSourceTest
Example source implementation used for tests.

Code

public function getKey() {
  return 'node';
}