You are here

public function MigrateUpgradeCommands::legacyDatabaseKey in Migrate Upgrade 8.3

Legacy database key option.

@hook option migrate:upgrade

File

src/Commands/MigrateUpgradeCommands.php, line 129

Class

MigrateUpgradeCommands
Migrate Upgrade drush commands.

Namespace

Drupal\migrate_upgrade\Commands

Code

public function legacyDatabaseKey(Command $command, AnnotationData $annotationData) {
  $command
    ->addOption('legacy-db-key', '', InputOption::VALUE_OPTIONAL, 'A database connection key from settings.php. Use as an alternative to legacy-db-url.');
}