You are here

function drush_migrate_migrations in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 migrate.drush.inc \drush_migrate_migrations()
8 calls to drush_migrate_migrations()
migrate_migrate_fields_destination_complete in ./migrate.drush.inc
migrate_migrate_fields_source_complete in ./migrate.drush.inc
migrate_migrate_import_complete in ./migrate.drush.inc
migrate_migrate_mappings_complete in ./migrate.drush.inc
migrate_migrate_reset_status_complete in ./migrate.drush.inc

... See full list

File

./migrate.drush.inc, line 1368
Drush support for the migrate module

Code

function drush_migrate_migrations() {
  drush_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  $migrations = migrate_migrations();
  foreach ($migrations as $migration) {
    $values[] = $migration
      ->getMachineName();
  }
  return $values;
}