public function stop($migration_id = '') {
    /** @var \Drupal\migrate\Plugin\MigrationInterface $migration */
    $migration = $this->migrationPluginManager->createInstance(
      $migration_id
    );

There's no reason for this parameter to be optional, as if you omit it, the command can't do anything useful, and you get an error:

 [error]  Migration  does not exist

In MigrateToolsCommands.php line 483:

  Migration  does not exist

(which is confusing if you're misremembering and thinking 'mst' is 'migrate status'!

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

henry.odiete made their first commit to this issue’s fork.

henry.odiete’s picture

Status: Active » Needs review

  • heddn committed 15e7cb4 on 8.x-5.x
    Issue #3121477 by henry.odiete, joachim, heddn: migration ID for 'drush...
heddn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.