Commit 167b32c8 authored by webchick's avatar webchick
Browse files

Issue #2472413 by geertvd: Unused variable in...

Issue #2472413 by geertvd: Unused variable in \Drupal\views\Plugin\views\argument_validator\Entity::calculateDependencies()
parent 07118859
...@@ -226,7 +226,6 @@ public function calculateDependencies() { ...@@ -226,7 +226,6 @@ public function calculateDependencies() {
if ($this->entityManager->hasHandler($bundle_entity_type, 'storage')) { if ($this->entityManager->hasHandler($bundle_entity_type, 'storage')) {
$bundle_entity_storage = $this->entityManager->getStorage($bundle_entity_type); $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) { foreach ($bundle_entity_storage->loadMultiple(array_keys($this->options['bundles'])) as $bundle_entity) {
$dependencies[$bundle_entity->getConfigDependencyKey()][] = $bundle_entity->getConfigDependencyName(); $dependencies[$bundle_entity->getConfigDependencyKey()][] = $bundle_entity->getConfigDependencyName();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment