Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CachePluginBase.php

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

Views plugins
Overview of views plugins

File

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

Classes

Title Sort descending File name Summary
CachePluginBase core/modules/views/src/Plugin/views/cache/CachePluginBase.php The base plugin to handle caching.
None core/modules/views/src/Plugin/views/cache/None.php Caching plugin that provides no caching at all.
Tag core/modules/views/src/Plugin/views/cache/Tag.php Simple caching of query results for Views displays.
Time core/modules/views/src/Plugin/views/cache/Time.php Simple caching of query results for Views displays.
ViewsCache core/modules/views/src/Annotation/ViewsCache.php Defines a Plugin annotation object for views cache plugins.
ViewsCache core/modules/views/src/Attribute/ViewsCache.php Defines a views cache plugins type attribute for plugin discovery.
RSS feed
Powered by Drupal