12345678910111213141516171819 |
- <?php
- /**
- * @file
- * Contains install and update functions for Migrate.
- */
- /**
- * Remove load plugin references from existing migrations.
- */
- function migrate_update_8001() {
- $config_factory = \Drupal::configFactory();
- foreach ($config_factory->listAll('migrate.migration.') as $migration_config_name) {
- $migration = $config_factory->getEditable($migration_config_name);
- $migration->clear('load');
- $migration->save(TRUE);
- }
- }
|