You are here

public function None::cacheGet in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}