You are here

migrate.install in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/migrate/migrate.install

Contains install and update functions for Migrate.

File

core/modules/migrate/migrate.install
View source
<?php

/**
 * @file
 * Contains install and update functions for Migrate.
 */

/**
 * @addtogroup updates-8.0.0-beta
 * @{
 */

/**
 * 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);
  }
}

/**
 * @} End of "addtogroup updates-8.0.0-beta".
 */

Functions

Namesort descending Description
migrate_update_8001 Remove load plugin references from existing migrations.