public function SimplenewsSourceTest::getFormat in Simplenews 7
Same name and namespace in other branches
- 7.2 includes/simplenews.source.inc \SimplenewsSourceTest::getFormat()
Returns the mail format.
Return value
The mail format as string, either 'plain' or 'html'.
Overrides SimplenewsSourceInterface::getFormat
2 calls to SimplenewsSourceTest::getFormat()
- SimplenewsSourceTest::getBody in includes/
simplenews.source.inc - Returns the mail body.
- SimplenewsSourceTest::getFooter in includes/
simplenews.source.inc - Returns the mail footer.
File
- includes/
simplenews.source.inc, line 989 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceTest
- Example source implementation used for tests.
Code
public function getFormat() {
return $this->format;
}