You are here

function drush_migrate_backend_invoke in Migrate 6

3 calls to drush_migrate_backend_invoke()
drush_migrate_wipe in ./migrate.drush.inc
A drush command callback.
_drush_migrate_do_clear in ./migrate.drush.inc
_drush_migrate_do_import in ./migrate.drush.inc

File

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

Code

function drush_migrate_backend_invoke() {
  $args = drush_get_arguments();
  $options = drush_migrate_get_options();

  // If we leave the update option in, it will reupdate everything
  unset($options['update']);

  // @todo: use drush_backend_invoke_args() as per http://drupal.org/node/658420.
  drush_backend_invoke(implode(' ', $args), $options);
}