function None::cacheGet

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::cacheGet()
  2. 10 core/modules/views/src/Plugin/views/cache/None.php \Drupal\views\Plugin\views\cache\None::cacheGet()
  3. 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\cache

Code

public function cacheGet($type) {
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.