Skip to content

Commit

Permalink
Close #1479 exclude Drupal 6 migrations from appearing when running d…
Browse files Browse the repository at this point in the history
…rush migrate:status (#3840)

Co-authored-by: Joe Parsons <[email protected]>
  • Loading branch information
2 people authored and bberndt-uaz committed Nov 1, 2024
1 parent ecdcf0a commit 77be3f9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions modules/custom/az_migration/az_migration.module
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

/**
* @file
* Contains az_migration.module.
*/

/**
* Implements hook_migration_plugins_aler().
*/
function az_migration_migration_plugins_alter(array &$migrations) {
$migrations = array_filter($migrations, function (array $migration) {
$tags = isset($migration['migration_tags']) ? (array) $migration['migration_tags'] : [];
return !in_array('Drupal 6', $tags);
});
}

0 comments on commit 77be3f9

Please sign in to comment.