You are here

function SimplenewsSourceEntity::getFormat in Simplenews 7.2

Implements SimplenewsSourceInterface::getFormat().

Overrides SimplenewsSourceInterface::getFormat

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

File

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

Class

SimplenewsSourceEntity
Default source class for entities.

Code

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