migrate.install

Same filename in other branches
  1. 9 core/modules/migrate/migrate.install
  2. 10 core/modules/migrate/migrate.install
  3. 11.x 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.
 */

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

Functions

Title Deprecated Summary
migrate_update_8001 Remove load plugin references from existing migrations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.