Tag.php in Drupal 10
File
core/modules/views/src/Plugin/views/cache/Tag.php
View source
<?php
namespace Drupal\views\Plugin\views\cache;
use Drupal\Core\Cache\CacheBackendInterface;
class Tag extends CachePluginBase {
public function summaryTitle() {
return $this
->t('Tag');
}
protected function cacheExpire($type) {
return FALSE;
}
protected function getDefaultCacheMaxAge() {
return CacheBackendInterface::CACHE_PERMANENT;
}
}
Classes
Name |
Description |
Tag |
Simple caching of query results for Views displays. |