From 167b32c86865501428f9b1de972d2b70f601fa84 Mon Sep 17 00:00:00 2001 From: webchick <drupal@webchick.net> Date: Fri, 17 Apr 2015 03:05:46 -0700 Subject: [PATCH] Issue #2472413 by geertvd: Unused variable in \Drupal\views\Plugin\views\argument_validator\Entity::calculateDependencies() --- .../modules/views/src/Plugin/views/argument_validator/Entity.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/views/src/Plugin/views/argument_validator/Entity.php b/core/modules/views/src/Plugin/views/argument_validator/Entity.php index fe2175c07ed6..b5362b014fce 100644 --- a/core/modules/views/src/Plugin/views/argument_validator/Entity.php +++ b/core/modules/views/src/Plugin/views/argument_validator/Entity.php @@ -226,7 +226,6 @@ public function calculateDependencies() { if ($this->entityManager->hasHandler($bundle_entity_type, 'storage')) { $bundle_entity_storage = $this->entityManager->getStorage($bundle_entity_type); - $test = $bundle_entity_storage->loadMultiple(array_keys($this->options['bundles'])); foreach ($bundle_entity_storage->loadMultiple(array_keys($this->options['bundles'])) as $bundle_entity) { $dependencies[$bundle_entity->getConfigDependencyKey()][] = $bundle_entity->getConfigDependencyName(); } -- GitLab