You are here

protected function SimplenewsSourceNode::initCache in Simplenews 7

Initialize the cache implementation.

1 call to SimplenewsSourceNode::initCache()
SimplenewsSourceNode::__construct in includes/simplenews.source.inc
Implements SimplenewsSourceInterface::_construct();

File

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

Class

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

Code

protected function initCache() {
  $class = variable_get('simplenews_source_cache', 'SimplenewsSourceCacheBuild');
  $this->cache = new $class($this);
}