You are here

public function MigrateUpgradeCommands::legacyDatabaseUrl in Migrate Upgrade 8.3

Legacy database url option.

@hook option migrate:upgrade

File

src/Commands/MigrateUpgradeCommands.php, line 115

Class

MigrateUpgradeCommands
Migrate Upgrade drush commands.

Namespace

Drupal\migrate_upgrade\Commands

Code

public function legacyDatabaseUrl(Command $command, AnnotationData $annotationData) {
  $command
    ->addOption('legacy-db-url', '', InputOption::VALUE_OPTIONAL, 'A Drupal 6 style database URL. Required if you do not set legacy-db-key.');
}