protected function DbImportCommand::configure

protected DbImportCommand::configure()

Configures the current command.

Overrides DbCommandBase::configure

File

core/lib/Drupal/Core/Command/DbImportCommand.php, line 25

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');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Command!DbImportCommand.php/function/DbImportCommand::configure/8.1.x