From 679614f0165e9f0735c6ba87d99f3f49e63b77d5 Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Sun, 5 Mar 2017 06:13:32 -0600 Subject: [PATCH] Issue #2668752 by mr.baileys, chx, tim.plunkett, Berdir: DefaultPluginManager::setCacheBackend has wrong information about language suffix --- core/lib/Drupal/Core/Plugin/DefaultPluginManager.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php index f9acafba8011..5a8a3f334b81 100644 --- a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php +++ b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php @@ -132,14 +132,12 @@ public function __construct($subdir, \Traversable $namespaces, ModuleHandlerInte /** * Initialize the cache backend. * - * Plugin definitions are cached using the provided cache backend. The - * interface language is added as a suffix to the cache key. + * Plugin definitions are cached using the provided cache backend. * * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend instance to use. * @param string $cache_key - * Cache key prefix to use, the language code will be appended - * automatically. + * Cache key prefix to use. * @param array $cache_tags * (optional) When providing a list of cache tags, the cached plugin * definitions are tagged with the provided cache tags. These cache tags can -- GitLab