3 namespace Drupal\views\Plugin\views\cache;
5 use Drupal\Core\Cache\CacheBackendInterface;
8 * Simple caching of query results for Views displays.
10 * @ingroup views_cache_plugins
14 * title = @Translation("Tag based"),
15 * help = @Translation("Tag based caching of data. Caches will persist until any related cache tags are invalidated.")
18 class Tag extends CachePluginBase {
23 public function summaryTitle() {
24 return $this->t('Tag');
30 protected function cacheExpire($type) {
37 protected function getDefaultCacheMaxAge() {
38 return CacheBackendInterface::CACHE_PERMANENT;