196 calls to Database::getConnection()
- add_pagination_heading.php in core/
modules/ views/ tests/ fixtures/ update/ add_pagination_heading.php - Test fixture.
- 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.
- BlockContentReusableIndexUpdatePathTest::testRunUpdates in core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentReusableIndexUpdatePathTest.php - Tests the upgrade path for Block Content reusable index.
- 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.
- CastedIntFieldJoinTestBase::testBuildJoin in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CastedIntFieldJoinTestBase.php - Tests base join functionality.
- 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.
- ckeditor5-3396628.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3396628.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::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.
- 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::testPrepareStatementFailOnPreparation in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DatabaseExceptionWrapperTest.php - Tests Connection::prepareStatement exceptions on preparation.
- DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- DatabaseStorageTest::testExceptionIsThrownIfQueryFails in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ DatabaseStorageTest.php - Tests that operations throw exceptions if the query fails.
- 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/
modules/ mysql/ tests/ src/ Kernel/ mysql/ DbDumpTest.php - DbDumpTest::testScriptLoad in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ 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 - DriverSpecificTransactionTestBase::testTransactionManagerFailureOnPendingStackItems in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificTransactionTestBase.php - Tests TransactionManager failure.
- drupal-10.access-help-pages.php in core/
modules/ help/ tests/ fixtures/ update/ drupal-10.access-help-pages.php - Contains database additions for testing the help module permission.
- drupal-8.entity-revision-data-cleanup-2869568.php in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.entity-revision-data-cleanup-2869568.php - Provides database changes for testing upgrade path of system_update_8404().
- 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.
- drupal-9.pgsql-orphan-sequence.php in core/
modules/ pgsql/ tests/ fixtures/ update/ drupal-9.pgsql-orphan-sequence.php - drupal.daterange-formatter-settings-2827055.php in core/
modules/ datetime_range/ tests/ fixtures/ update/ drupal.daterange-formatter-settings-2827055.php - Provides database changes for testing the daterange formatter upgrade path.
- drupal.timestamp-formatter-settings-2921810.php in core/
modules/ system/ tests/ fixtures/ update/ drupal.timestamp-formatter-settings-2921810.php - Provides database changes for testing the TimestampFormatter upgrade path.
- drupal6.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- drupal6.php in core/
modules/ forum/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- drupal6.php in core/
modules/ statistics/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- drupal6.php in core/
modules/ book/ 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/ forum/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ statistics/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ book/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal_install_system in core/
includes/ install.inc - Installs the system module.
- editor-3412361.php in core/
modules/ editor/ tests/ fixtures/ update/ editor-3412361.php - Test fixture.
- entity-id-argument.php in core/
modules/ views/ tests/ fixtures/ update/ entity-id-argument.php - Test fixture.
- 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.
- FileFieldRevisionTest::testRevisions in core/
modules/ file/ tests/ src/ Functional/ FileFieldRevisionTest.php - Tests creating multiple revisions of a node and managing attached files.
- filter_post_update_consolidate_filter_config-3404431.php in core/
modules/ filter/ tests/ fixtures/ update/ filter_post_update_consolidate_filter_config-3404431.php - Fixture file to test filter_post_update_consolidate_filter_config().
- fix-revision-id-update.php in core/
modules/ views/ tests/ fixtures/ update/ fix-revision-id-update.php - Test fixture.
- GarbageCollectionTest::testGarbageCollection in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ GarbageCollectionTest.php - Tests garbage collection.
- GenericModuleTestBase::testModuleGenericIssues in core/
modules/ system/ tests/ src/ Functional/ Module/ GenericModuleTestBase.php - Checks some generic things about a module.
- help-topics-3087499.php in core/
modules/ help/ tests/ fixtures/ update/ help-topics-3087499.php - Contains database additions for testing the upgrade path for help topics.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- InstallerIsolationLevelExistingSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelExistingSettingsTest.php - Verifies that isolation_level is not set in the database settings.
- InstallerIsolationLevelNoDatabaseSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelNoDatabaseSettingsTest.php - Verifies that the isolation_level was added to the database settings.
- 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.
- 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.php in core/
modules/ layout_builder/ tests/ fixtures/ update/ layout-builder.php - Install layout_builder module before testing update paths.
- 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.
- media-oembed-iframe.php in core/
modules/ media/ tests/ fixtures/ update/ media-oembed-iframe.php - Test oembed update by adding an oembed field display without config.
- media.php in core/
modules/ media/ tests/ fixtures/ update/ media.php - 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.
- MigrateMessageControllerTest::testDetail in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateMessageControllerTest.php - Tests the detail pages for migrate messages.
- MigrateMessageControllerTest::testOverview in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateMessageControllerTest.php - Tests the overview page for migrate messages.
- 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.
- Mysql8RequirePrimaryKeyUpdateTest::runDbTasks in core/
modules/ mysql/ 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.
- NonPublicSchemaTest::setUp in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ NonPublicSchemaTest.php - 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.
- PerformanceTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php - Prepares the current environment for running the test.
- pgsql_requirements in core/
modules/ pgsql/ pgsql.install - Implements hook_requirements().
- PostgreSqlSequenceUpdateTest::runDbTasks in core/
modules/ pgsql/ tests/ src/ Functional/ Database/ PostgreSqlSequenceUpdateTest.php - Runs the install database tasks for the driver used by the test runner.
- 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.
- remove-description-from-article-content-type.php in core/
modules/ node/ tests/ fixtures/ update/ remove-description-from-article-content-type.php - Empties the description of the `article` content type.
- remove-description-from-tags-vocabulary.php in core/
modules/ taxonomy/ tests/ fixtures/ update/ remove-description-from-tags-vocabulary.php - Empties the description of the `tags` vocabulary.
- remove_default_argument_skip_url.php in core/
modules/ views/ tests/ fixtures/ update/ remove_default_argument_skip_url.php - Test fixture.
- ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReplicaKillSwitchTest.php - Tests database.replica_kill_switch service.
- RequirementsTest::setUp in core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php - RequirementsTest::testIsolationLevelWarningNotDisplaying in core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php - Test the isolation level warning message on status page.
- responsive_image-loading-attribute.php in core/
modules/ responsive_image/ tests/ fixtures/ update/ responsive_image-loading-attribute.php - Test lazy load update by modifying an image field form display.
- responsive_image-order-multipliers-numerically.php in core/
modules/ responsive_image/ tests/ fixtures/ update/ responsive_image-order-multipliers-numerically.php - Test fixture for re-ordering responsive image style multipliers numerically.
- responsive_image.php in core/
modules/ responsive_image/ tests/ fixtures/ update/ responsive_image.php - Test fixture.
- 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::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.
- 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.
- SimpletestTestRunResultsStorage::getConnection in core/
lib/ Drupal/ Core/ Test/ SimpletestTestRunResultsStorage.php - Returns the database connection to use for inserting assertions.
- SimpletestTestRunResultsStorageTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Test/ SimpletestTestRunResultsStorageTest.php - 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::checkExtensions in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Generic function to check postgresql extensions.
- 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.
- TemporaryQueryTestBase::getConnection in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TemporaryQueryTestBase.php - Returns the connection.
- 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.
- TestRunTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Test/ TestRunTest.php - TrackerTest::testTrackerCronIndexing in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - Tests that existing nodes are indexed by cron.
- UpdatePathTest::testLogEntryWithBigId in core/
modules/ dblog/ tests/ src/ Functional/ UpdatePathTest.php - Tests that, after update 10101, the 'wid' column can be a 64-bit integer.
- 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.
- UpdateSettingsDefaultFetchUrlUpdateTest::setUp in core/
modules/ update/ tests/ src/ Functional/ Update/ UpdateSettingsDefaultFetchUrlUpdateTest.php - 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 - Y2038-timestamp.php in core/
modules/ system/ tests/ fixtures/ update/ Y2038-timestamp.php - Contains database additions for testing year 2038 update.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.