You are here

public function SmartTag::cacheSet in Tome 8

Save data to the cache.

A plugin should override this to provide specialized caching behavior.

Parameters

$type: The cache type, either 'query', 'result'.

Overrides CachePluginBase::cacheSet

File

modules/tome_static/modules/tome_static_super_cache/src/Plugin/views/cache/SmartTag.php, line 103

Class

SmartTag
Omits list cache tags from a View and expires cache on entity CRUD.

Namespace

Drupal\tome_static_super_cache\Plugin\views\cache

Code

public function cacheSet($type) {
  if ($this->cache) {
    parent::cacheSet($type);
  }
}