You are here

public function MigrateUpgradeCommands::legacyDatabasePrefix in Migrate Upgrade 8.3

Legacy database prefix option.

@hook option migrate:upgrade

File

src/Commands/MigrateUpgradeCommands.php, line 143

Class

MigrateUpgradeCommands
Migrate Upgrade drush commands.

Namespace

Drupal\migrate_upgrade\Commands

Code

public function legacyDatabasePrefix(Command $command, AnnotationData $annotationData) {
  $command
    ->addOption('legacy-db-prefix', '', InputOption::VALUE_OPTIONAL, 'Database prefix of the legacy Drupal installation.');
}