You are here

function SimplenewsSourceNode::getFormat in Simplenews 7

Implements SimplenewsSourceInterface::getFormat().

Overrides SimplenewsSourceInterface::getFormat

5 calls to SimplenewsSourceNode::getFormat()
SimplenewsSourceNode::build in includes/simplenews.source.inc
Build the node object.
SimplenewsSourceNode::buildBody in includes/simplenews.source.inc
Build the themed newsletter body.
SimplenewsSourceNode::buildFooter in includes/simplenews.source.inc
Builds the themed footer.
SimplenewsSourceNode::getBody in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::getBody().
SimplenewsSourceNode::getFooter in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::getFooter().

File

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

Class

SimplenewsSourceNode
Simplenews source implementation based on nodes for a single subscriber.

Code

function getFormat() {
  return $this
    ->getCategory()->format;
}