173 calls to Database::getConnection()
- addTourLegacyConfig.php in core/
modules/ tour/ tests/ fixtures/ addTourLegacyConfig.php - Adds deprecated tour config for testing updates.
- BigPipeTest::testBigPipe in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe-delivered HTML responses when JavaScript is enabled.
- BlockContentCreationTest::testFailedBlockCreation in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Verifies that a transaction rolls back the failed creation.
- BootstrapConfigStorageFactory::getDatabaseStorage in core/
lib/ Drupal/ Core/ Config/ BootstrapConfigStorageFactory.php - Returns a Database configuration storage implementation.
- BrokenCacheUpdateTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ BrokenCacheUpdateTest.php - Ensures that a broken or out-of-date element info cache is not used.
- ckeditor5-3222756.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3222756.php - Test fixture.
- ckeditor5-3259593.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3259593.php - Test fixture.
- ConnectionFailureTest::testConnectionFailureLogging in core/
modules/ dblog/ tests/ src/ Kernel/ ConnectionFailureTest.php - Tests logging of connection failures.
- ConnectionTest::testCondition in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that the method ::condition() returns a Condition object.
- ConnectionTest::testConnectionClosing in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the closing of a database connection.
- ConnectionTest::testConnectionOptions in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the connection options of the active database.
- ConnectionTest::testConnectionRouting in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionTest::testConnectionRoutingOverride in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests that connections return appropriate connection objects.
- ConnectionTest::testPDOStatementQueryDeprecation in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the deprecation of passing a PDOStatement object to ::query.
- ConnectionTest::testPerTablePrefixOption in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests per-table prefix connection option.
- ConnectionTest::testPrefixArrayOption in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the prefix connection option in array form.
- ConnectionTest::testStatementQueryDeprecation in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the deprecation of passing a statement object to ::query.
- ConnectionTest::testTransactionsOptionDeprecation in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the deprecation of the 'transactions' connection option.
- CronQueueTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ System/ CronQueueTest.php - DatabaseBackendTagTest::testTagInvalidations in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTagTest.php - DatabaseDriverUninstallValidator::validate in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriverUninstallValidator.php - Determines the reasons a module can not be uninstalled.
- DatabaseExceptionWrapperTest::testPrepare in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseExceptionWrapperTest.php - Tests deprecation of Connection::prepare.
- DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DatabaseExceptionWrapperTest.php - Tests Connection::prepareStatement exceptions on preparation.
- DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparationWithThrowExceptionOption in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseExceptionWrapperTest.php - Tests Connection::prepareStatement with throw_exception option set.
- DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- DatabaseTestBase::setUp in core/
modules/ system/ tests/ src/ Functional/ Database/ DatabaseTestBase.php - DatabaseTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseTestBase.php - DbCommandBase::getDatabaseConnection in core/
lib/ Drupal/ Core/ Command/ DbCommandBase.php - Parse input options decide on a database.
- DbDumpTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Command/ DbDumpTest.php - DbDumpTest::testScriptLoad in core/
tests/ Drupal/ KernelTests/ Core/ Command/ DbDumpTest.php - Tests loading the script back into the database.
- DbImportCommandTest::testDbImportCommand in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbImportCommandTest.php - Tests the command directly.
- DbLog::log in core/
modules/ dblog/ src/ Logger/ DbLog.php - DbLogTest::runCron in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogTest.php - Runs cron and returns number of new log entries.
- DbLogTest::testDBLogAddAndClear in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests the addition and clearing of log events through the admin interface.
- DbLogTest::testLogEventPageWithMissingInfo in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests individual log event page with missing log attributes.
- DriverSpecificConnectionUnitTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificConnectionUnitTestBase.php - DriverSpecificConnectionUnitTestBase::testConnectionOpen in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificConnectionUnitTestBase.php - Tests pdo options override.
- DriverSpecificKernelTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificKernelTestBase.php - drupal-8.action-3022401.php in core/
modules/ action/ tests/ fixtures/ update/ drupal-8.action-3022401.php - Contains database additions to for testing upgrade path for action settings.
- drupal-8.migrate-drupal-multilingual-enabled.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal-8.migrate-drupal-multilingual-enabled.php - drupal-8.update-schema-version-int.php in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.update-schema-version-int.php - Database to mimic the installation of the update_test_schema 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.update-test-semver-update-n-enabled.php in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.update-test-semver-update-n-enabled.php - Database to mimic the installation of the update_test_semver_update_n module.
- drupal6.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- drupal6.php in core/
modules/ aggregator/ 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.
- drupal7.php in core/
modules/ tracker/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ rdf/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ aggregator/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ color/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal_install_system in core/
includes/ install.inc - Installs the system module.
- EntityApiTest::assertCRUD in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityApiTest.php - Executes a test set for a defined entity type and user.
- EntityQueryTest::testToString in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Tests __toString().
- EntityUpdateInitialTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ EntityUpdateInitialTest.php - ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testReplicaDrupal8StyleDatabaseConnectionInSettingsPhp in core/
tests/ Drupal/ FunctionalTests/ ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php - Confirms that the replica database connection works.
- FieldSqlStorageTest::testFieldLoad in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests field loading works correctly by inserting directly in the tables.
- FieldSqlStorageTest::testFieldWrite in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldSqlStorageTest.php - Tests field saving works correctly by reading directly from the tables.
- FileFieldFileExtensionsUpdateTest::setAllowedExtensions in core/
modules/ file/ tests/ src/ Functional/ Update/ FileFieldFileExtensionsUpdateTest.php - Sets the allowed extensions on the article image field.
- FileFieldFileExtensionsUpdateTest::testInsecureUpdatesAllowed in core/
modules/ file/ tests/ src/ Functional/ Update/ FileFieldFileExtensionsUpdateTest.php - Tests update when insecure uploads are allowed.
- FileFieldRevisionTest::testRevisions in core/
modules/ file/ tests/ src/ Functional/ FileFieldRevisionTest.php - Tests creating multiple revisions of a node and managing attached files.
- GarbageCollectionTest::testGarbageCollection in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ GarbageCollectionTest.php - Tests garbage collection.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- InstallerTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php - Confirms that the installation succeeded.
- IpAddressBlockingTest::testIPAddressValidation in core/
modules/ ban/ tests/ src/ Functional/ IpAddressBlockingTest.php - Tests various user input to confirm correct validation and saving of data.
- jsonapi.php in core/
modules/ jsonapi/ tests/ fixtures/ update/ jsonapi.php - Test fixture.
- KernelTestBaseTest::tearDown in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ LargeQueryTest.php - Tests truncation of messages when max_allowed_packet exception occurs.
- layout-builder-context-mapping.php in core/
modules/ layout_builder/ tests/ fixtures/ update/ layout-builder-context-mapping.php - Test context mapping update path by adding a layout without a context map.
- layout-builder.php in core/
modules/ layout_builder/ tests/ fixtures/ update/ layout-builder.php - Test fixture.
- LocalePluralFormatTest::testPluralEditExport in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Tests plural editing and export functionality.
- LocaleUpdateBase::setCurrentTranslations in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Sets up existing translations and their statuses in the database.
- LocaleUpdateTest::testEnableLanguage in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - Tests automatic translation import when a language is added.
- MatcherDumperTest::testAddAdditionalRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirms that we can add routes to the dumper when it already has some.
- MatcherDumperTest::testAddRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirms that we can add routes to the dumper.
- MatcherDumperTest::testCreate in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirms that the dumper can be instantiated successfully.
- MatcherDumperTest::testDump in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirm that we can dump a route collection to the database.
- MatcherDumperTest::testMenuMasksGeneration in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Tests the determination of the masks generation.
- MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldInstanceLabelDescriptionTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceLabelDescriptionTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFileTest::migrateDumpAlter in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - Allows tests to alter dumps after they have loaded.
- MigrateFilterFormatTest::migrateDumpAlter in core/
modules/ filter/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFilterFormatTest.php - Allows tests to alter dumps after they have loaded.
- MigrateLanguageContentCommentSettingsNoEntityTranslationTest::migrateDumpAlter in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d7/ MigrateLanguageContentCommentSettingsNoEntityTranslationTest.php - Allows tests to alter dumps after they have loaded.
- MigrateNodeTest::rerunMigration in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTest.php - Execute the migration a second time.
- MigrateTestBase::setUp in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php - MigrateTrackerNodeTest::testMigrateTrackerNode in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerNodeTest.php - Tests migration of tracker node table.
- MigrateTrackerUserTest::testMigrateTrackerUser in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerUserTest.php - Tests migration of tracker user table.
- MigrateUpgradeTestBase::setUp in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php - MigrationConfigurationTrait::getConnection in core/
modules/ migrate_drupal/ src/ MigrationConfigurationTrait.php - Gets the database connection for the source Drupal database.
- multi_value_fields.php in core/
modules/ views/ tests/ fixtures/ update/ multi_value_fields.php - Text fixture.
- Mysql8RequirePrimaryKeyUpdateTest::runDbTasks in core/
modules/ user/ tests/ src/ Functional/ Mysql8RequirePrimaryKeyUpdateTest.php - Runs the install database tasks for the driver used by the test runner.
- mysql_requirements in core/
modules/ mysql/ mysql.install - Implements hook_requirements().
- NodeAccessLanguageAwareCombinationTest::testNodeAccessLanguageAwareCombination in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessLanguageAwareCombinationTest.php - Tests node access and node access queries with multiple node languages.
- NodeAccessLanguageAwareTest::testNodeAccessLanguageAware in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessLanguageAwareTest.php - Tests node access and node access queries with multiple node languages.
- NodeAccessLanguageTest::testNodeAccessQueryTag in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessLanguageTest.php - Tests select queries with a 'node_access' tag and langcode metadata.
- NodeAccessRecordsTest::testNodeAccessRecords in core/
modules/ node/ tests/ src/ Kernel/ NodeAccessRecordsTest.php - Creates a node and tests the creation of node access rules.
- NodeAdminTest::testContentAdminSort in core/
modules/ node/ tests/ src/ Functional/ NodeAdminTest.php - Tests that the table sorting works on the content admin pages.
- NodeBlockFunctionalTest::testRecentNodeBlock in core/
modules/ node/ tests/ src/ Functional/ NodeBlockFunctionalTest.php - Tests the recent comments block.
- NodeQueryAlterTest::testNodeQueryAlterOverride in core/
modules/ node/ tests/ src/ Functional/ NodeQueryAlterTest.php - Tests 'node_access' query alter override.
- NodeRevisionsTest::testRevisions in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsTest.php - Checks node revision related operations.
- NoPreExistingSchemaUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ NoPreExistingSchemaUpdateTest.php - PathAliasTest::testAdminAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests alias functionality through the admin interfaces.
- PathAliasTest::testNodeAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests alias functionality through the node interfaces.
- PrefixInfoTest::testGetPrefixInfo in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ PrefixInfoTest.php - Tests that DatabaseSchema::getPrefixInfo() returns the right database.
- 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/
tests/ Drupal/ KernelTests/ Core/ Queue/ QueueTest.php - Tests the System queue.
- RelationshipJoinInTest::testRelationshipInQuery in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipJoinInTest.php - Tests the query result of a view with a relationship with an IN condition.
- RelationshipTest::testRelationshipQuery in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests the query result of a view with a relationship.
- RelationshipTest::testRelationshipRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests rendering of a view with a relationship.
- ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReplicaKillSwitchTest.php - Tests database.replica_kill_switch service.
- RevisionableContentEntityBaseTest::assertItemsTableCount in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RevisionableContentEntityBaseTest.php - Asserts the amount of items on entity related tables.
- RouteProviderTest::tearDown in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - RouteProviderTest::testCandidateOutlines in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that the correct candidate outlines are generated.
- RouteProviderTest::testDuplicateRoutePaths in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we find all routes with the same path.
- RouteProviderTest::testEmptyPathCandidatesOutlines in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Don't fail when given an empty path.
- RouteProviderTest::testExactPathMatch in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find routes with the exact incoming path.
- RouteProviderTest::testGetAllRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms RouteProvider::getAllRoutes() extracts information correctly from the database.
- RouteProviderTest::testGetRoutesByPatternWithLongPatterns in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Ensures that the routing system is capable of extreme long patterns.
- RouteProviderTest::testGetRoutesCount in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests getRoutesCount().
- RouteProviderTest::testGetRoutesPaged in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests getRoutesPaged().
- RouteProviderTest::testMixedCasePaths in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we find routes using a case-insensitive path match.
- RouteProviderTest::testOutlinePathMatch in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find routes whose pattern would match the request.
- RouteProviderTest::testOutlinePathMatchDefaults in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find routes whose pattern would match the request.
- RouteProviderTest::testOutlinePathMatchDefaultsCollision in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find routes whose pattern would match the request.
- RouteProviderTest::testOutlinePathMatchDefaultsCollision2 in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find routes whose pattern would match the request.
- RouteProviderTest::testOutlinePathMatchDefaultsCollision3 in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that we can find multiple routes that match the request equally.
- RouteProviderTest::testOutlinePathMatchTrailingSlash in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that a trailing slash on the request does not result in a 404.
- RouteProviderTest::testOutlinePathMatchZero in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests a route with a 0 as value.
- RouteProviderTest::testOutlinePathNoMatch in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Confirms that an exception is thrown when no matching path is found.
- RouteProviderTest::testRouteByName in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests RouteProvider::getRouteByName() & RouteProvider::getRoutesByNames().
- RouteProviderTest::testRouteCaching in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests that route caching works.
- SchemaTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SchemaTest.php - SearchMatchTest::_testQueries in core/
modules/ search/ tests/ src/ Kernel/ SearchMatchTest.php - Run predefine queries looking for indexed terms.
- SearchMultilingualEntityTest::assertDatabaseCounts in core/
modules/ search/ tests/ src/ Functional/ SearchMultilingualEntityTest.php - Checks actual database counts of items in the search index.
- SearchMultilingualEntityTest::testMultilingualSearch in core/
modules/ search/ tests/ src/ Functional/ SearchMultilingualEntityTest.php - Tests the indexing throttle and search results with multilingual nodes.
- SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion in core/
modules/ search/ tests/ src/ Functional/ SearchNodeUpdateAndDeletionTest.php - Tests that the search index info is updated when a node is deleted.
- SelectPagerDefaultTest::testElementNumbers in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that every pager gets a valid, non-overlapping element ID.
- SelectPagerDefaultTest::testInnerPagerQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ SelectPagerDefaultTest.php - Confirms that a pager query results with an inner pager query are valid.
- SelectTest::testVulnerableComment in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests query COMMENT system against vulnerabilities.
- SessionTest::testSessionWrite in core/
modules/ system/ tests/ src/ Functional/ Session/ SessionTest.php - Tests that sessions are only saved when necessary.
- simpletest_uninstall in core/
modules/ simpletest/ simpletest.install - Implements hook_uninstall().
- Sql::getConnection in core/
modules/ views/ src/ Plugin/ views/ query/ Sql.php - Gets the database connection to use for the view.
- SqlBase::setUpDatabase in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Gets a connection to the referenced database.
- StatisticsAdminTest::testDeleteNode in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsAdminTest.php - Tests that when a node is deleted, the node counter is deleted too.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- Tasks::checkBinaryOutput in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Check Binary Output.
- Tasks::checkStandardConformingStrings in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Ensures standard_conforming_strings setting is 'on'.
- Tasks::connect in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::getConnection in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - Returns the database connection.
- Tasks::initializeDatabase in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Make PostgreSQL Drupal friendly.
- TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyQueryAlterTest.php - Tests that appropriate tags are added when querying the database.
- TemporaryQueryTest::testTemporaryQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ TemporaryQueryTest.php - Confirms that temporary tables work and are limited to one request.
- TempStoreDatabaseTest::testSharedTempStore in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ TempStoreDatabaseTest.php - Tests the SharedTempStore API.
- TermIndexTest::testTaxonomyIndex in core/
modules/ taxonomy/ tests/ src/ Functional/ TermIndexTest.php - Tests that the taxonomy index is maintained properly.
- TestDatabase::getConnection in core/
lib/ Drupal/ Core/ Test/ TestDatabase.php - Returns the database connection to the site running Simpletest.
- TestSiteApplicationTest::testInstallWithFileWithNoClass in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - @coversNothing
- TestSiteApplicationTest::testInstallWithNonExistingFile in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - @coversNothing
- TrackerTest::testTrackerCronIndexing in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - Tests that existing nodes are indexed by cron.
- UpdateEnableProviderDatabaseDriverTest::testPostUpdateEnableProviderDatabaseDriverHook in core/
modules/ system/ tests/ src/ Functional/ Update/ UpdateEnableProviderDatabaseDriverTest.php - Tests that post update hooks are properly run.
- UpdatePathTestBaseTest::testUpdateHookN in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that updates are properly run.
- UpdatePostUpdateExceptionTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateExceptionTest.php - UpdatePostUpdateFailingTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateFailingTest.php - UpdatePostUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateTest.php - UpdateRemovedPostUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateRemovedPostUpdateTest.php - UpdateSchemaTest::testUpdateHooks in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateSchemaTest.php - Tests that update hooks are properly run.
- UpsertTest::testUpsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ UpsertTest.php - Confirms that we can upsert (update-or-insert) records successfully.
- UsageTest::createTempFiles in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Create files for all the possible combinations of age and status.
- UsageTest::doTestRemoveUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
- UsageTest::testGetUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
- UserDeleteTest::testUserDeleteMultiple in core/
modules/ user/ tests/ src/ Kernel/ UserDeleteTest.php - Tests deleting multiple users.
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.