You are here

public function MigrateUpgradeCommands::legacyRoot in Migrate Upgrade 8.3

Legacy file system root path option.

@hook option migrate:upgrade

File

src/Commands/MigrateUpgradeCommands.php, line 157

Class

MigrateUpgradeCommands
Migrate Upgrade drush commands.

Namespace

Drupal\migrate_upgrade\Commands

Code

public function legacyRoot(Command $command, AnnotationData $annotationData) {
  $command
    ->addOption('legacy-root', '', InputOption::VALUE_OPTIONAL, 'For files migrations. Site web address or file system root path (if files are local) of the legacy Drupal installation.');
}