protected function SimplenewsSourceEntity::initCache in Simplenews 7.2
Initialize the cache implementation.
1 call to SimplenewsSourceEntity::initCache()
- SimplenewsSourceEntity::__construct in includes/
simplenews.source.inc - Implements SimplenewsSourceEntityInterface::_construct();
File
- includes/
simplenews.source.inc, line 412 - Contains SimplenewsSource interface and implementations.
Class
- SimplenewsSourceEntity
- Default source class for entities.
Code
protected function initCache() {
$class = variable_get('simplenews_source_cache', 'SimplenewsSourceCacheBuild');
$this->cache = new $class($this);
}