You are here

215 files declare their use of Database in Drupal 10

ActiveTopicsBlock.php in core/modules/forum/src/Plugin/Block/ActiveTopicsBlock.php
BigPipeTest.php in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
BlockContentCreationTest.php in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
BootstrapConfigStorageFactory.php in core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php
BrokenCacheUpdateTest.php in core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
BrowserTestBase.php in core/tests/Drupal/Tests/BrowserTestBase.php
BulkDeleteTest.php in core/modules/field/tests/src/Kernel/BulkDeleteTest.php
CacheTest.php in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
ckeditor5-3259593.php in core/modules/ckeditor5/tests/fixtures/update/ckeditor5-3259593.php
Test fixture.
CommentIntegrationTest.php in core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
Connection.php in core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
Connection.php in core/modules/mysql/src/Driver/Database/mysql/Connection.php
ConnectionFailureTest.php in core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php
ConnectionTest.php in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
ConnectionUnitTest.php in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
ContentTranslationSettingsApiTest.php in core/modules/content_translation/tests/src/Kernel/ContentTranslationSettingsApiTest.php
CronQueueTest.php in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
DatabaseBackendTagTest.php in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DatabaseDriverProvidedByModuleTest.php in core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
DatabaseDriverUninstallValidator.php in core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php
DatabaseExceptionWrapperTest.php in core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php
DatabaseStorage.php in core/lib/Drupal/Core/Config/DatabaseStorage.php
DatabaseStorageTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageTest.php
DatabaseStorageTest.php in core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
DatabaseTest.php in core/tests/Drupal/Tests/Core/Database/DatabaseTest.php
DatabaseTestBase.php in core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
DatabaseTestForm.php in core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php
DatabaseVersionCheckUpdateTest.php in core/modules/system/tests/src/Functional/Update/DatabaseVersionCheckUpdateTest.php
DbCommandBase.php in core/lib/Drupal/Core/Command/DbCommandBase.php
DbCommandBaseTest.php in core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
Contains \Drupal\Tests\system\Kernel\Scripts\DbCommandBaseTest.
DbDumpCommandTest.php in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
DbDumpTest.php in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
DbImportCommand.php in core/lib/Drupal/Core/Command/DbImportCommand.php
DbImportCommandTest.php in core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
DBLogResource.php in core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php
DbLogResourceTest.php in core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
DbLogTest.php in core/modules/dblog/tests/src/Functional/DbLogTest.php
DbLogTest.php in core/modules/dblog/tests/src/Kernel/DbLogTest.php
Delete.php in core/lib/Drupal/Core/Database/Query/Delete.php
DeleteTest.php in core/modules/file/tests/src/Kernel/DeleteTest.php
DirectoryTest.php in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
DistributionProfileExistingSettingsTest.php in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.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.
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/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
EntityApiTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
EntityDefinitionUpdateTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
EntityDisplayTest.php in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
EntityQueryTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
EntityUpdateInitialTest.php in core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
Error.php in core/lib/Drupal/Core/Utility/Error.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php in core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
FieldDataCountTest.php in core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldSqlStorageTest.php in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
FileFieldRevisionTest.php in core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
FunctionalTestSetupTrait.php in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
GarbageCollectionTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
HistoryTimestampTest.php in core/modules/history/tests/src/Kernel/Views/HistoryTimestampTest.php
Insert.php in core/lib/Drupal/Core/Database/Query/Insert.php
install.core.inc in core/includes/install.core.inc
API functions for installing Drupal.
install.inc in core/includes/install.inc
API functions for installing modules and themes.
InstallCommand.php in core/lib/Drupal/Core/Command/InstallCommand.php
InstallerDatabaseErrorMessagesTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
InstallerExistingBrokenDatabaseSettingsTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
InstallerExistingConfigTestBase.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
InstallerExistingDatabaseSettingsTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php
InstallerExistingSettingsNoProfileTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php
InstallerExistingSettingsTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php
InstallerNonDefaultDatabaseDriverTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
InstallerRedirectTrait.php in core/lib/Drupal/Core/Installer/InstallerRedirectTrait.php
InstallerRedirectTraitTest.php in core/tests/Drupal/KernelTests/Core/Installer/InstallerRedirectTraitTest.php
InstallerTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
InstallerTranslationTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
InstallTest.php in core/modules/system/tests/src/Functional/Module/InstallTest.php
IpAddressBlockingTest.php in core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
JoinTest.php in core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
KernelTestBase.php in core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBaseDatabaseDriverModuleTest.php in core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php
KernelTestBaseTest.php in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
LargeQueryTest.php in core/tests/Drupal/KernelTests/Core/Database/LargeQueryTest.php
LocaleImportFunctionalTest.php in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
LocalePluralFormatTest.php in core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
LocaleTranslationUiTest.php in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
LocaleUpdateBase.php in core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
LocaleUpdateCronTest.php in core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php
LocaleUpdateTest.php in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
LoggingTest.php in core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php
LogTest.php in core/tests/Drupal/Tests/Core/Database/LogTest.php
MatcherDumperTest.php in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
MediaStandardProfileTest.php in core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
MediaTest.php in core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php
MediaTest.php in core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php
MenuTreeStorage.php in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
Merge.php in core/lib/Drupal/Core/Database/Query/Merge.php
MigrateDateFormatTest.php in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php
MigrateDrupalTestBase.php in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php
MigrateFieldInstanceLabelDescriptionTest.php in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
MigrateFieldInstanceLabelDescriptionTest.php in core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceLabelDescriptionTest.php
MigrateFileTest.php in core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php
MigrateFilterFormatTest.php in core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php
MigrateImageCacheTest.php in core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
MigrateLanguageContentCommentSettingsNoEntityTranslationTest.php in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentCommentSettingsNoEntityTranslationTest.php
MigrateMenuTest.php in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php
MigrateMenuTest.php in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php
MigrateNodeTest.php in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
MigrateSearchPageTest.php in core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchPageTest.php
MigrateSearchPageTest.php in core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchPageTest.php
MigrateTestBase.php in core/modules/migrate/tests/src/Kernel/MigrateTestBase.php
MigrateTrackerNodeTest.php in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerNodeTest.php
MigrateTrackerUserTest.php in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php
MigrateUpgradeTestBase.php in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
MigrateUrlAliasTest.php in core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
MigrateUserConfigsTest.php in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php
MigrateUserRoleTest.php in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php
MigrateUserSettingsTest.php in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserSettingsTest.php
MigrateUserTest.php in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserTest.php
MigrateUserTest.php in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php
MigrationConfigurationTrait.php in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
MigrationPluginListTest.php in core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginListTest.php
module.api.php in core/lib/Drupal/Core/Extension/module.api.php
Hooks related to module and update systems.
ModuleInstallerTest.php in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
ModuleTestBase.php in core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
module_test.install in core/modules/system/tests/modules/module_test/module_test.install
Install, update and uninstall functions for the module_test module.
mysql.install in core/modules/mysql/mysql.install
Install, update and uninstall functions for the mysql module.
NewTopicsBlock.php in core/modules/forum/src/Plugin/Block/NewTopicsBlock.php
NextIdTest.php in core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php
node.install in core/modules/node/node.install
Install, update and uninstall functions for the node module.
NodeAccessLanguageAwareCombinationTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
NodeAccessLanguageAwareTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
NodeAccessLanguageTest.php in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
NodeAccessRecordsTest.php in core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php
NodeAdminTest.php in core/modules/node/tests/src/Functional/NodeAdminTest.php
NodeBlockFunctionalTest.php in core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeCreationTest.php in core/modules/node/tests/src/Functional/NodeCreationTest.php
NodeRevisionsAllTest.php in core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
NodeRevisionsTest.php in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
NodeTermData.php in core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
NoPreExistingSchemaUpdateTest.php in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
PagerTestController.php in core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
PathAliasTest.php in core/modules/path/tests/src/Functional/PathAliasTest.php
PhpUnitTestRunner.php in core/lib/Drupal/Core/Test/PhpUnitTestRunner.php
PrefixInfoTest.php in core/tests/Drupal/KernelTests/Core/Database/PrefixInfoTest.php
PreviewTest.php in core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
Query.php in core/lib/Drupal/Core/Database/Query/Query.php
QueryTest.php in core/tests/Drupal/KernelTests/Core/Database/QueryTest.php
QueueTest.php in core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php
RelationshipJoinInTest.php in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinInTest.php
RelationshipTest.php in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
ReplicaKillSwitchTest.php in core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php
RequirementsTest.php in core/modules/mysql/tests/src/Functional/RequirementsTest.php
RevisionableContentEntityBaseTest.php in core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
RouteProviderTest.php in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Contains \Drupal\KernelTests\Core\Routing\RouteProviderTest.
SchemaTest.php in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
SearchMatchTest.php in core/modules/search/tests/src/Kernel/SearchMatchTest.php
SearchMultilingualEntityTest.php in core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
SearchNodeUpdateAndDeletionTest.php in core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
SearchRankingTest.php in core/modules/search/tests/src/Functional/SearchRankingTest.php
SelectComplexTest.php in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
SelectPagerDefaultTest.php in core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
SelectTest.php in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
SessionTest.php in core/modules/system/tests/src/Functional/Session/SessionTest.php
Settings.php in core/lib/Drupal/Core/Site/Settings.php
SettingsTest.php in core/tests/Drupal/Tests/Core/Site/SettingsTest.php
SettingsTest.php in core/modules/views_ui/tests/src/Functional/SettingsTest.php
ShortcutSetStorage.php in core/modules/shortcut/src/ShortcutSetStorage.php
SiteSettingsForm.php in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
SqlBase.php in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
SqlBaseTest.php in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.
SqlContentEntityStorage.php in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
SqlQueryTest.php in core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php
SqlTest.php in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
StatisticsAdminTest.php in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
StorageTest.php in core/modules/system/tests/src/Functional/Form/StorageTest.php
StyleTableTest.php in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
system.install in core/modules/system/system.install
Install, update and uninstall functions for the system module.
Tasks.php in core/lib/Drupal/Core/Database/Install/Tasks.php
Tasks.php in core/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php
Tasks.php in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php
Tasks.php in core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php
TaxonomyQueryAlterTest.php in core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
TempStoreDatabaseTest.php in core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php
TermIndexTest.php in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
TestDatabase.php in core/lib/Drupal/Core/Test/TestDatabase.php
TestSetupTrait.php in core/lib/Drupal/Core/Test/TestSetupTrait.php
TestSetupTraitTest.php in core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php
TestSiteApplicationTest.php in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
TestSiteInstallCommand.php in core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteTearDownCommand.php in core/tests/Drupal/TestSite/Commands/TestSiteTearDownCommand.php
TrackerTest.php in core/modules/tracker/tests/src/Functional/TrackerTest.php
Truncate.php in core/lib/Drupal/Core/Database/Query/Truncate.php
Update.php in core/lib/Drupal/Core/Database/Query/Update.php
UpdatePathTestBase.php in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
UpdatePathTestBaseTest.php in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
UpdatePathTestTrait.php in core/tests/Drupal/Tests/UpdatePathTestTrait.php
UpdatePostUpdateFailingTest.php in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
UpdatePostUpdateTest.php in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
UpdateSchemaTest.php in core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
update_test_schema.install in core/modules/system/tests/modules/update_test_schema/update_test_schema.install
Update hooks and schema definition for the update_test_schema module.
Upsert.php in core/lib/Drupal/Core/Database/Query/Upsert.php
UpsertTest.php in core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php
UrlAlterFunctionalTest.php in core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
UrlConversionTest.php in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
UsageTest.php in core/modules/file/tests/src/Kernel/UsageTest.php
UserDeleteTest.php in core/modules/user/tests/src/Kernel/UserDeleteTest.php
UserPasswordResetTest.php in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
UserPasswordResetTest.php in core/modules/user/tests/src/FunctionalJavascript/UserPasswordResetTest.php
UserPictureTest.php in core/modules/user/tests/src/Functional/UserPictureTest.php
UserUid.php in core/modules/comment/src/Plugin/views/filter/UserUid.php
ViewsKernelTestBase.php in core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php
ViewTestBase.php in core/modules/views/tests/src/Functional/ViewTestBase.php
ViewUI.php in core/modules/views_ui/src/ViewUI.php