Skip to content
Snippets Groups Projects
Commit 167b32c8 authored by Angie Byron's avatar Angie Byron
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment