function DbImportCommand::configure
Same name in other branches
- 9 core/lib/Drupal/Core/Command/DbImportCommand.php \Drupal\Core\Command\DbImportCommand::configure()
- 8.9.x core/lib/Drupal/Core/Command/DbImportCommand.php \Drupal\Core\Command\DbImportCommand::configure()
- 11.x core/lib/Drupal/Core/Command/DbImportCommand.php \Drupal\Core\Command\DbImportCommand::configure()
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\CommandCode
protected function configure() {
parent::configure();
$this->setName('import')
->setDescription('Import database from a generation script.')
->addArgument('script', InputOption::VALUE_REQUIRED, 'Import script');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.