3425915: Remove Drupal 6 migration plugins.
2 unresolved threads
2 unresolved threads
Closes #3425915
Merge request reports
Activity
Filter activity
1401 1401 1402 /** 1403 * Removes Drupal 6 migrations. 1404 * 1405 * These cause errors, unexpected outcomes, and a performance hit. We don't 1406 * need the Drupal 6 migrations in a Drupal 7 migration framework. 1407 * 1408 * @param array[] $migrations 1409 * An associative array of migrations keyed by migration ID, the same that 1410 * is passed to hook_migration_plugins_alter() hooks. 1411 * 1412 * @see acquia_migrate_migrate_field_info_alter() 1413 */ 1414 public function removeDrupal6Migrations(array &$migrations) { 1415 foreach ($migrations as $key => $migration) { 1416 if (!empty($migration['migration_tags']) && in_array('Drupal 6', $migration['migration_tags'])) { 1399 1399 } 1400 1400 } 1401 1401 1402 /** 1403 * Removes Drupal 6 migrations. 1404 * 1405 * These cause errors, unexpected outcomes, and a performance hit. We don't 1406 * need the Drupal 6 migrations in a Drupal 7 migration framework. 1407 * 1408 * @param array[] $migrations 1409 * An associative array of migrations keyed by migration ID, the same that 1410 * is passed to hook_migration_plugins_alter() hooks. 1411 * 1412 * @see acquia_migrate_migrate_field_info_alter() 1413 */ 1414 public function removeDrupal6Migrations(array &$migrations) {
Please register or sign in to reply