diff --git a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php index ed049df..5c37aa9 100644 --- a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php +++ b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php @@ -159,7 +159,6 @@ public function getDefinitions() { */ public function clearCachedDefinitions() { if ($this->cacheBackend) { - if ($this->cacheTags) { // Use the cache tags to clear the cache. Cache::invalidateTags($this->cacheTags);