You are here

public function SimplenewsSourceNode::__construct in Simplenews 7.2

Same name and namespace in other branches
  1. 7 includes/simplenews.source.inc \SimplenewsSourceNode::__construct()

Overrides SimplenewsSourceEntity::__construct();

Overrides SimplenewsSourceEntity::__construct

File

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

Class

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

Code

public function __construct($node, $subscriber, $entity_type = 'node') {
  parent::__construct($node, $subscriber, $entity_type);
}