-
-
Save damiankloip/9228913 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/Extension/ModuleHandler.php b/core/lib/Drupal/Core/Extension/ModuleHandler.php | |
index 001e278..a795e0e 100644 | |
--- a/core/lib/Drupal/Core/Extension/ModuleHandler.php | |
+++ b/core/lib/Drupal/Core/Extension/ModuleHandler.php | |
@@ -759,6 +759,9 @@ public function uninstall(array $module_list, $uninstall_dependents = TRUE) { | |
watchdog('system', '%module module uninstalled.', array('%module' => $module), WATCHDOG_INFO); | |
$schema_store->delete($module); | |
+ | |
+ // Make sure any route data is also removed for this module. | |
+ \Drupal::service('router.dumper')->dump(array('provider' => $module)); | |
} | |
drupal_get_installed_schema_version(NULL, TRUE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment