You are here

protected function DbImportCommand::configure in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Command/DbImportCommand.php \Drupal\Core\Command\DbImportCommand::configure()

Configures the current command.

Overrides DbCommandBase::configure

File

core/lib/Drupal/Core/Command/DbImportCommand.php, line 30
Contains \Drupal\Core\Command\DbImportCommand.

Class

DbImportCommand
Provides a command to import the current database from a script.

Namespace

Drupal\Core\Command

Code

protected function configure() {
  parent::configure();
  $this
    ->setName('import')
    ->setDescription('Import database from a generation script.')
    ->addArgument('script', InputOption::VALUE_REQUIRED, 'Import script');
}