diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
index d54a055..05c82db 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
@@ -954,7 +954,7 @@ public function calculateDependencies() {
     $this->addDependencies(parent::calculateDependencies());
     // Collect all the dependencies of handlers and plugins. Only calculate
     // their dependencies if they are configured by this display.
-    $plugins = array_merge($this->getAllHandlers(TRUE), $this->getAllPlugins(TRUE));
+    $plugins = array_merge($this->getAllHandlers(TRUE), $this->getAllPlugins(TRUE), $this->getExtenders());
     array_walk($plugins, array($this, 'calculatePluginDependencies'));
 
     return $this->dependencies;
diff --git a/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php b/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
index 019fb44..861a435 100644
--- a/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
+++ b/core/modules/views/src/Tests/Plugin/DisplayExtenderTest.php
@@ -49,6 +49,17 @@ public function testDisplayExtenders() {
     $this->assertTrue($display_extender->testState['preExecute'], 'Make sure the display extender was able to react on preExecute.');
     $view->execute();
     $this->assertTrue($display_extender->testState['query'], 'Make sure the display extender was able to react on query.');
+
+    $this->assertEqual([
+      'module' => ['views_test_data'],
+      'config' => ['system.site'],
+    ], $view->getDependencies());
+    
+    \Drupal::service('module_installer')->uninstall(array('views_test_data'));
+    $this->resetAll();
+    $this->rebuildContainer();
+    $this->drupalGet('');
+    $this->assertResponse(200);
   }
 
 }
diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php
index 858600b..7b4e09d 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php
@@ -108,4 +108,15 @@ public function preExecute() {
     $this->testState['preExecute'] = TRUE;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function calculateDependencies() {
+    $dependencies = [];
+    $dependencies['module'][] = 'views_test_data';
+    // Add a special config dependencies not provided by the test view yet.
+    $dependencies['config'][] = 'system.site';
+    return $dependencies;
+  }
+
 }
