public function SimplenewsSourceTest::getFooter in Simplenews 7.2
Same name and namespace in other branches
- 7 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 1044 - 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';
}