You are here

102 calls to Database::getConnection() in Zircon Profile 8.0

AliasTest::testCRUD in core/modules/system/src/Tests/Path/AliasTest.php
AliasTest::testLookupPath in core/modules/system/src/Tests/Path/AliasTest.php
AliasTest::testWhitelist in core/modules/system/src/Tests/Path/AliasTest.php
Tests the alias whitelist.
argument-placeholder.php in core/modules/views/tests/fixtures/update/argument-placeholder.php
BootstrapConfigStorageFactory::getDatabaseStorage in core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php
Returns a Database configuration storage implementation.
BrowserTestBase::getDatabaseConnection in core/modules/simpletest/src/BrowserTestBase.php
Returns the database connection to the site running Simpletest.
CckMigrationBuilderTest::setUp in core/modules/migrate_drupal/src/Tests/d6/CckMigrationBuilderTest.php
Performs setup tasks before each individual test method is run.
ConnectionFailureTest::testConnectionFailureLogging in core/modules/dblog/src/Tests/ConnectionFailureTest.php
Tests logging of connection failures.
ConnectionTest::testConnectionClosing in core/modules/system/src/Tests/Database/ConnectionTest.php
Tests the closing of a database connection.
ConnectionTest::testConnectionOptions in core/modules/system/src/Tests/Database/ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting in core/modules/system/src/Tests/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride in core/modules/system/src/Tests/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testMultipleStatements in core/modules/system/src/Tests/Database/ConnectionTest.php
Ensure that you cannot execute multiple statements.
ConnectionTest::testMultipleStatementsForNewPhp in core/modules/system/src/Tests/Database/ConnectionTest.php
Ensure that you cannot execute multiple statements on phpversion() > 5.5.21 or > 5.6.5.
ConnectionTest::testPostgresqlReservedWords in core/modules/system/src/Tests/Database/ConnectionTest.php
Test the escapeTable(), escapeField() and escapeAlias() methods with all possible reserved words in PostgreSQL.
ConnectionUnitTest::setUp in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Performs setup tasks before each individual test method is run.
ConnectionUnitTest::testConnectionOpen in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Tests pdo options override.
ConnectionUnitTest::testOpenClose in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in core/modules/system/src/Tests/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a select query.
DatabaseExceptionWrapperTest::testPreparedStatement in core/modules/system/src/Tests/Database/DatabaseExceptionWrapperTest.php
Tests the expected database exception thrown for prepared statements.
DatabaseExceptionWrapperTest::testQueryThrowsDatabaseExceptionWrapperException in core/modules/system/src/Tests/Database/DatabaseExceptionWrapperTest.php
Tests the expected database exception thrown for inexistent tables.
DbCommandBase::getDatabaseConnection in core/lib/Drupal/Core/Command/DbCommandBase.php
Parse input options decide on a database.
DbDumpTest::setUp in core/modules/system/src/Tests/Update/DbDumpTest.php
Performs setup tasks before each individual test method is run.
DbImportCommandTest::testDbImportCommand in core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
Test the command directly.
DbLog::log in core/modules/dblog/src/Logger/DbLog.php
Logs with an arbitrary level.
drupal-8.block-content-uninstall.php in core/modules/system/tests/fixtures/update/drupal-8.block-content-uninstall.php
Partial database to mimic the uninstallation of the block_content module.
drupal-8.block-context-manager-2354889.php in core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2354889.
drupal-8.block-test-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.block-test-enabled.php
Partial database to mimic the installation of the block_test module.
drupal-8.broken_routing.php in core/modules/system/tests/fixtures/update/drupal-8.broken_routing.php
drupal-8.editor-editor_update_8001.php in core/modules/system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of editor_update_8001().
drupal-8.field-schema-data-uninstall-2573667.php in core/modules/system/tests/fixtures/update/drupal-8.field-schema-data-uninstall-2573667.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2573667.
drupal-8.language-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php
drupal-8.local-actions-tasks-into-blocks-507488.php in core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/507488.
drupal-8.page-title-into-block-2476947.php in core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2476947.
drupal-8.seven-secondary-local-tasks-block-2569529.php in core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/507488.
drupal-8.site-branding-into-block-2005546.php in core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2005546.
drupal-8.stable-base-theme-2575421.php in core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2575421.
drupal-8.update-test-postupdate-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-postupdate-enabled.php
Partial database to mimic the installation of the update_test_post_update module.
drupal-8.update-test-postupdate-failing-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-postupdate-failing-enabled.php
Partial database to mimic the installation of the update_test_failing module.
drupal-8.update-test-schema-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-schema-enabled.php
Partial database to mimic the installation of the update_test_schema module.
drupal-8.views-entity-views-data-2455125.php in core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views_entity_reference_plugins-2429191.php in core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2429191.
drupal-8.without_automated_cron.php in core/modules/system/tests/fixtures/update/drupal-8.without_automated_cron.php
drupal6.php in core/modules/migrate_drupal/tests/fixtures/drupal6.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
duplicate-field-handler.php in core/modules/views/tests/fixtures/update/duplicate-field-handler.php
GarbageCollectionTest::testGarbageCollection in core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php
Tests garbage collection.
IgnoreReplicaSubscriberTest::testSystemInitIgnoresSecondaries in core/modules/system/src/Tests/System/IgnoreReplicaSubscriberTest.php
Tests \Drupal\Core\EventSubscriber\ReplicaDatabaseIgnoreSubscriber::checkReplicaServer().
KernelTestBase::bootKernel in core/tests/Drupal/KernelTests/KernelTestBase.php
Bootstraps a kernel for a test.
KernelTestBase::setUp in core/modules/simpletest/src/KernelTestBase.php
Performs setup tasks before each individual test method is run.
KernelTestBaseTest::run in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Run all tests in this class.
KernelTestBaseTest::tearDown in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/modules/system/src/Tests/Database/LargeQueryTest.php
Tests truncation of messages when max_allowed_packet exception occurs.
MatcherDumperTest::testAddAdditionalRoutes in core/modules/system/src/Tests/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper when it already has some.
MatcherDumperTest::testAddRoutes in core/modules/system/src/Tests/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper.
MatcherDumperTest::testCreate in core/modules/system/src/Tests/Routing/MatcherDumperTest.php
Confirms that the dumper can be instantiated successfully.
MatcherDumperTest::testDump in core/modules/system/src/Tests/Routing/MatcherDumperTest.php
Confirm that we can dump a route collection to the database.
MatcherDumperTest::testMenuMasksGeneration in core/modules/system/src/Tests/Routing/MatcherDumperTest.php
Tests the determination of the masks generation.
MigrateFileTest::migrateDumpAlter in core/modules/file/src/Tests/Migrate/d6/MigrateFileTest.php
Allows tests to alter dumps after they've loaded.
MigrateNodeTest::testNode in core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php
Test node migration from Drupal 6 to 8.
MigrateTestBase::setUp in core/modules/migrate/src/Tests/MigrateTestBase.php
Performs setup tasks before each individual test method is run.
MigrateTrackerNodeTest::testMigrateTrackerNode in core/modules/tracker/src/Tests/Migrate/d7/MigrateTrackerNodeTest.php
Tests migration of tracker node table.
MigrateTrackerUserTest::testMigrateTrackerUser in core/modules/tracker/src/Tests/Migrate/d7/MigrateTrackerUserTest.php
Tests migration of tracker user table.
PathAliasTest::testAdminAlias in core/modules/path/src/Tests/PathAliasTest.php
Tests alias functionality through the admin interfaces.
PathAliasTest::testNodeAlias in core/modules/path/src/Tests/PathAliasTest.php
Tests alias functionality through the node interfaces.
PathUnitTestBase::tearDown in core/modules/system/src/Tests/Path/PathUnitTestBase.php
Performs cleanup tasks after each individual test method has been run.
Query::__wakeup in core/lib/Drupal/Core/Database/Query/Query.php
Implements the magic __wakeup function to reconnect to the database.
QueueTest::testSystemQueue in core/modules/system/src/Tests/Queue/QueueTest.php
Tests the System queue.
RouteProviderTest::tearDown in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Performs cleanup tasks after each individual test method has been run.
RouteProviderTest::testCandidateOutlines in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that the correct candidate outlines are generated.
RouteProviderTest::testExactPathMatch in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes with the exact incoming path.
RouteProviderTest::testGetRoutesByPatternWithLongPatterns in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Ensures that the routing system is capable of extreme long patterns.
RouteProviderTest::testGetRoutesPaged in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Tests getRoutesPaged().
RouteProviderTest::testOutlinePathMatch in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaults in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that we can find multiple routes that match the request equally.
RouteProviderTest::testOutlinePathMatchTrailingSlash in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that a trailing slash on the request doesn't result in a 404.
RouteProviderTest::testOutlinePathMatchZero in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Tests a route with a 0 as value.
RouteProviderTest::testOutlinePathNoMatch in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Confirms that an exception is thrown when no matching path is found.
RouteProviderTest::testRouteByName in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Test RouteProvider::getRouteByName() and RouteProvider::getRoutesByNames().
RouteProviderTest::testRouteCaching in core/modules/system/src/Tests/Routing/RouteProviderTest.php
Tests that route caching works.
SelectTest::testVulnerableComment in core/modules/system/src/Tests/Database/SelectTest.php
Tests query COMMENT system against vulnerabilities.
SqlBase::setUpDatabase in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Get a connection to the referenced database, adding the connection if necessary.
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/Install/Tasks.php
Check if we can connect to the database.
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.
Tasks::initializeDatabase in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Make PostgreSQL Drupal friendly.
TempStoreDatabaseTest::testUserTempStore in core/modules/user/src/Tests/TempStoreDatabaseTest.php
Tests the UserTempStore API.
TestBase::getDatabaseConnection in core/modules/simpletest/src/TestBase.php
Returns the database connection to the site running Simpletest.
TransactionTest::testTransactionStacking in core/modules/system/src/Tests/Database/TransactionTest.php
Tests transaction stacking, commit, and rollback.
TransactionTest::transactionInnerLayer in core/modules/system/src/Tests/Database/TransactionTest.php
Creates an "inner layer" transaction.
TransactionTest::transactionOuterLayer in core/modules/system/src/Tests/Database/TransactionTest.php
Encapsulates a transaction's "inner layer" with an "outer layer".
UpdatePathTestBase::runDbTasks in core/modules/system/src/Tests/Update/UpdatePathTestBase.php
Runs the install database tasks for the driver used by the test runner.
UpsertTest::testUpsert in core/modules/system/src/Tests/Database/UpsertTest.php
Confirms that we can upsert (update-or-insert) records successfully.
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php