function None::cacheGet
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::cacheGet()
- 10 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::cacheGet()
- 11.x core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::cacheGet()
Overrides \Drupal\views\Plugin\views\cache\CachePluginBase::cacheGet().
Replace the cache get logic so it does not return a cache item at all.
Overrides CachePluginBase::cacheGet
File
-
core/
modules/ views/ src/ Plugin/ views/ cache/ None.php, line 27
Class
- None
- Caching plugin that provides no caching at all.
Namespace
Drupal\views\Plugin\views\cacheCode
public function cacheGet($type) {
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.