DbToolsApplication.php in Drupal 9
File
core/lib/Drupal/Core/Command/DbToolsApplication.php
View source
<?php
namespace Drupal\Core\Command;
use Symfony\Component\Console\Application;
class DbToolsApplication extends Application {
public function __construct() {
parent::__construct('Database Tools', \Drupal::VERSION);
}
protected function getDefaultCommands() {
$default_commands = parent::getDefaultCommands();
$default_commands[] = new DbDumpCommand();
$default_commands[] = new DbImportCommand();
return $default_commands;
}
}