Skip to content
Snippets Groups Projects

Revert "[#3519377] Drupal 11 compatibility fixes."

Merged Ted Cooper requested to merge revert-2dc36f90 into 8.x-1.x
4 files
+ 11
11
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -9,10 +9,8 @@ use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Datetime\DateFormatterInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Link;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Url;
use Drupal\Core\Utility\Token;
use Drupal\views\Attribute\ViewsCache;
use Drupal\views\Plugin\views\cache\CachePluginBase;
use Drupal\views\ResultRow;
use Drupal\views\Views;
@@ -26,12 +24,13 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* lifetime (which is used to calculate max-age).
*
* @ingroup views_cache_plugins
*
* @ViewsCache(
* id = "advanced_views_cache",
* title = @Translation("Advanced Caching"),
* help = @Translation("Caching based on tags, context, and max-age. Caches will persist until any related cache tags are invalidated or the max-age is reached.")
* )
*/
#[ViewsCache(
id: 'advanced_views_cache',
title: new TranslatableMarkup('Advanced Caching'),
help: new TranslatableMarkup('Caching based on tags, context, and max-age. Caches will persist until any related cache tags are invalidated or the max-age is reached.'),
)]
class AdvancedViewsCache extends CachePluginBase {
/**
Loading