You are here

function SimplenewsSourceInterface::getBody in Simplenews 7

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

Returns the mail body.

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

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

File

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

Class

SimplenewsSourceInterface
The source used to build a newsletter mail.

Code

function getBody();