protected function DbToolsApplication::getDefaultCommands in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Command/DbToolsApplication.php \Drupal\Core\Command\DbToolsApplication::getDefaultCommands()
Gets the default commands that should always be available.
Return value
Command[] An array of default Command instances
Overrides Application::getDefaultCommands
File
- core/
lib/ Drupal/ Core/ Command/ DbToolsApplication.php, line 27 - Contains \Drupal\Core\Command\DbToolsApplication.
Class
- DbToolsApplication
- Provides a command to import a database generation script.
Namespace
Drupal\Core\CommandCode
protected function getDefaultCommands() {
$default_commands = parent::getDefaultCommands();
$default_commands[] = new DbDumpCommand();
$default_commands[] = new DbImportCommand();
return $default_commands;
}