Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\views_cache_plugins
  2. 9 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\views_cache_plugins

Plugins to handle Views caches.

Cache plugins control how caching is done in Views.

Cache plugins extend \Drupal\views\Plugin\views\cache\CachePluginBase. They must be annotated with \Drupal\views\Annotation\ViewsCache annotation, and must be in namespace directory Plugin\views\cache.

See also

Plugin API

Parent topics

File

core/modules/views/src/Plugin/views/cache/CachePluginBase.php, line 11

Classes

Namesort descending Location Description
CachePluginBase core/modules/views/src/Plugin/views/cache/CachePluginBase.php The base plugin to handle caching.
ViewsCache core/modules/views/src/Annotation/ViewsCache.php Defines a Plugin annotation object for views cache plugins.