Views cache plugins in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/cache/CachePluginBase.php \Drupal\views\Plugin\views\cache\views_cache_plugins
- 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
Parent topics
File
- core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php, line 11
Classes
Name | Location | Description |
---|---|---|
CachePluginBase |
core/ |
The base plugin to handle caching. |
None |
core/ |
Caching plugin that provides no caching at all. |
Tag |
core/ |
Simple caching of query results for Views displays. |
Time |
core/ |
Simple caching of query results for Views displays. |
ViewsCache |
core/ |
Defines a Plugin annotation object for views cache plugins. |