Created
July 22, 2016 15:09
-
-
Save saltednut/45c4d47c3c31ecdc776893cd8ed8813a to your computer and use it in GitHub Desktop.
Migrate 8.x woes
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/src/ScenariosHandler.php b/src/ScenariosHandler.php | |
index 9652385..af5f747 100644 | |
--- a/src/ScenariosHandler.php | |
+++ b/src/ScenariosHandler.php | |
@@ -219,7 +219,8 @@ class ScenariosHandler implements ContainerInjectionInterface { | |
$migrations = scenarios_scenario_migrations($scenario); | |
// Run the migrations in the provided order. | |
- $migration_manager = $this->migrationPluginManager; | |
+ //$migration_manager = $this->migrationPluginManager; | |
+ $migration_manager = \Drupal::service('plugin.manager.migration'); | |
$migration_manager->clearCachedDefinitions(); | |
foreach ($migrations as $migration) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment