public function SmartTag::cacheGet in Tome 8
Retrieve data from the cache.
A plugin should override this to provide specialized caching behavior.
Parameters
$type: The cache type, either 'query', 'result'.
Return value
bool TRUE if data has been taken from the cache, otherwise FALSE.
Overrides CachePluginBase::cacheGet
File
- modules/
tome_static/ modules/ tome_static_super_cache/ src/ Plugin/ views/ cache/ SmartTag.php, line 93
Class
- SmartTag
- Omits list cache tags from a View and expires cache on entity CRUD.
Namespace
Drupal\tome_static_super_cache\Plugin\views\cacheCode
public function cacheGet($type) {
if ($this->cache) {
return parent::cacheGet($type);
}
return FALSE;
}