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

Breadcrumb

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

class ConnectionNotDefinedException

Exception thrown if an undefined database connection is requested.

Hierarchy

  • class \Drupal\Core\Database\ConnectionNotDefinedException extends \Drupal\Core\Database\RuntimeException

Expanded class hierarchy of ConnectionNotDefinedException

6 files declare their use of ConnectionNotDefinedException
InstallCommand.php in core/lib/Drupal/Core/Command/InstallCommand.php
InstallerRedirectTrait.php in core/lib/Drupal/Core/Installer/InstallerRedirectTrait.php
ServerCommand.php in core/lib/Drupal/Core/Command/ServerCommand.php
SimpletestTestRunResultsStorage.php in core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php
SqlBase.php in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php

... See full list

File

core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php, line 8

Namespace

Drupal\Core\Database
View source
class ConnectionNotDefinedException extends \RuntimeException {

}

API Navigation

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