You are here

14 calls to Database::closeConnection() in Drupal 8

ConnectionFailureTest::testConnectionFailureLogging in core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php
Tests logging of connection failures.
ConnectionTest::testConnectionClosing in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests the closing of a database connection.
ConnectionUnitTest::testOpenClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a select query.
Database::removeConnection in core/lib/Drupal/Core/Database/Database.php
Remove a connection and its corresponding connection information.
db_close in core/includes/database.inc
Closes the active database connection.
LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/tests/Drupal/KernelTests/Core/Database/LargeQueryTest.php
Tests truncation of messages when max_allowed_packet exception occurs.
Tasks::checkBinaryOutput in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::checkStandardConformingStrings in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Ensures standard_conforming_strings setting is 'on'.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Check if we can connect to the database.