Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DbToolsApplication.php

function DbToolsApplication::getDefaultCommands

Overrides Application::getDefaultCommands

File

core/lib/Drupal/Core/Command/DbToolsApplication.php, line 22

Class

DbToolsApplication
Provides a command to import a database generation script.

Namespace

Drupal\Core\Command

Code

protected function getDefaultCommands() : array {
    $default_commands = parent::getDefaultCommands();
    $default_commands[] = new DbDumpCommand();
    $default_commands[] = new DbImportCommand();
    return $default_commands;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal