You are here

function SimplenewsSourceInterface::getFormat in Simplenews 7

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

Returns the mail format.

Return value

The mail format as string, either 'plain' or 'html'.

2 methods override SimplenewsSourceInterface::getFormat()
SimplenewsSourceNode::getFormat in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::getFormat().
SimplenewsSourceTest::getFormat in includes/simplenews.source.inc
Returns the mail format.

File

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

Class

SimplenewsSourceInterface
The source used to build a newsletter mail.

Code

function getFormat();