Move all files to 2017/
This commit is contained in:
parent
ac7370f67f
commit
2875863330
15717 changed files with 0 additions and 0 deletions
18
2017/web/core/modules/migrate/migrate.install
Normal file
18
2017/web/core/modules/migrate/migrate.install
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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);
|
||||
}
|
||||
}
|
Reference in a new issue