You are here

function SimplenewsSourceEntity::getLanguage in Simplenews 7.2

Implements SimplenewsSourceInterface::getLanguage().

Overrides SimplenewsSourceInterface::getLanguage

5 calls to SimplenewsSourceEntity::getLanguage()
SimplenewsSourceEntity::buildBody in includes/simplenews.source.inc
Build the themed newsletter body.
SimplenewsSourceEntity::buildFooter in includes/simplenews.source.inc
Builds the themed footer.
SimplenewsSourceEntity::getSubject in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::getSubject().
SimplenewsSourceEntity::setContext in includes/simplenews.source.inc
Set up the necessary language and user context.
SimplenewsSourceNode::setEntity in includes/simplenews.source.inc
Overrides SimplenewsSourceEntity::setEntity().

File

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

Class

SimplenewsSourceEntity
Default source class for entities.

Code

function getLanguage() {
  return $this
    ->getSubscriber()->language;
}