You are here

public function SimplenewsSourceTest::getFooter in Simplenews 7

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

Returns the mail footer.

The footer should either be plaintext or html, depending on the format.

Overrides SimplenewsSourceInterface::getFooter

File

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

Class

SimplenewsSourceTest
Example source implementation used for tests.

Code

public function getFooter() {
  return $this
    ->getFormat() == 'plain' ? $this
    ->getPlainFooter() : 'the footer';
}