You are here

function SimplenewsSourceNode::getLanguage in Simplenews 7

Implements SimplenewsSourceInterface::getLanguage().

Overrides SimplenewsSourceInterface::getLanguage

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

File

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

Class

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

Code

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