You are here

public function MigrateUpgradeCommands::migrationPrefix in Migrate Upgrade 8.3

Prefix all migrations.

@hook option migrate:upgrade

File

src/Commands/MigrateUpgradeCommands.php, line 185

Class

MigrateUpgradeCommands
Migrate Upgrade drush commands.

Namespace

Drupal\migrate_upgrade\Commands

Code

public function migrationPrefix(Command $command, AnnotationData $annotationData) {
  $command
    ->addOption('migration-prefix', '', InputOption::VALUE_OPTIONAL, 'With configure-only, a prefix to apply to generated migration ids.', 'upgrade_');
}