Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Database.php
»
Database
»
Database::getConnectionInfo
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
17 calls to Database::getConnectionInfo()
ConnectionTest::testConnectionOptions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionUnitTest::addConnection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Adds a new database connection info to Database.
ConnectionUnitTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Sets up unit test environment.
ConnectionUnitTest::testConnectionOpen
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Tests pdo options override.
db_ignore_slave
in drupal/
core/
includes/
database.inc
Sets a session variable specifying the lag time for ignoring a slave server.
IgnoreSlaveSubscriberTest::testSystemInitIgnoresSlaves
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
IgnoreSlaveSubscriberTest.php
Tests
\Drupal\Core\EventSubscriber\SlaveDatabaseIgnoreSubscriber::checkSlaveServer
().
LoggingTest::testEnableMultiConnectionLogging
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
LoggingTest.php
Tests that we can log queries separately on different connections.
LoggingTest::testEnableTargetLogging
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
LoggingTest.php
Tests logging queries against multiple targets on the same connection.
Schema::getPrefixInfo
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
mysql/
Schema.php
Get information about the table and database name from the prefix.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
mysql/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
sqlite/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
pgsql/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
TestBase::changeDatabasePrefix
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Changes the database connection to the prefixed one.
TestBase::tearDown
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Deletes created files, database tables, and reverts all environment changes.
WebTestBase::installParameters
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Returns the parameters that will be used when Simpletest installs Drupal.