protected function DbDumpCommand::configure in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::configure()
Configures the current command.
Overrides DbCommandBase::configure
File
- core/
lib/ Drupal/ Core/ Command/ DbDumpCommand.php, line 46 - Contains \Drupal\Core\Command\DbDumpCommand.
Class
- DbDumpCommand
- Provides a command to dump the current database to a script.
Namespace
Drupal\Core\CommandCode
protected function configure() {
$this
->setName('dump-database-d8-mysql')
->setDescription('Dump the current database to a generation script')
->addOption('schema-only', NULL, InputOption::VALUE_OPTIONAL, 'A comma separated list of tables to only export the schema without data.', 'cache.*,sessions,watchdog');
parent::configure();
}