core/modules/views/src/Plugin/views/filter/Bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/views/src/Plugin/views/filter/Bundle.php b/core/modules/views/src/Plugin/views/filter/Bundle.php index cc3416d..b518354 100644 --- a/core/modules/views/src/Plugin/views/filter/Bundle.php +++ b/core/modules/views/src/Plugin/views/filter/Bundle.php @@ -120,7 +120,7 @@ public function calculateDependencies() { $dependencies = parent::calculateDependencies(); $bundle_entity_type = $this->entityType->getBundleEntityType(); - $bundle_entity_storage = \Drupal::entityManager()->getStorage($bundle_entity_type); + $bundle_entity_storage = $this->entityManager->getStorage($bundle_entity_type); foreach (array_keys($this->value) as $bundle) { $bundle_entity = $bundle_entity_storage->load($bundle);