You are here

function SimplenewsSourceEntityInterface::__construct in Simplenews 7.2

Create a source based on an entity.

1 method overrides SimplenewsSourceEntityInterface::__construct()
SimplenewsSourceEntity::__construct in includes/simplenews.source.inc
Implements SimplenewsSourceEntityInterface::_construct();

File

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

Class

SimplenewsSourceEntityInterface
Source interface based on an entity.

Code

function __construct($entity, $subscriber, $entity_type);