Search for database

  1. Search 7.x for database
  2. Search 8.9.x for database
  3. Search 10.3.x for database
  4. Search 11.x for database
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
database service core/core.services.yml Drupal\Core\Database\Connection
Database class core/lib/Drupal/Core/Database/Database.php Primary front-controller for the database system.

All search results

Title Object type File name Summary
DrupalSqlBaseTest::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Minimum database contents needed to test DrupalSqlBase.
DrupalSqlBaseTest::testSourceDatabaseError function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @covers ::checkRequirements[[api-linebreak]]
DrupalTest::testDatabase function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the database() method.
drupal_detect_database_types function core/includes/install.inc Detects all supported databases that are compiled into PHP.
drupal_get_database_types function core/includes/install.inc Returns all supported database driver installer objects.
dump-database-d6.sh file core/scripts/dump-database-d6.sh Filled installation of Drupal 6.17, for test purposes.
dump-database-d7.sh file core/scripts/dump-database-d7.sh Dumps a Drupal 7 database into a Drupal 7 PHP script to test the upgrade
process.
dump-database-d8-mysql.php file core/scripts/dump-database-d8-mysql.php A command line application to dump a database to a generation script.
EndOfTransactionQueriesTest::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php Returns the Database connection info to be used for this test.
EntityBundleFieldTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php The database connection used.
EntityDefinitionUpdateTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php The database connection.
EntitySchemaTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php The database connection used.
EnvironmentCleaner::$resultsDatabase property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Connection to the database where test results are stored.
EnvironmentCleaner::$testDatabase property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Connection to the database being used for tests.
EnvironmentCleaner::cleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Remove database entries left over in the fixture database.
EnvironmentCleaner::doCleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Performs the fixture database cleanup.
EnvironmentCleanerInterface::cleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Remove database entries left over in the fixture database.
ErrorTestController::$database property core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php The database connection.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest class core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php @group Database
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php file core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::$defaultTheme property core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php The theme to install as the default for testing.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::setUp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testExistingDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the site works with Drupal 8 style database connection array.
ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest::testReplicaDrupal8StyleDatabaseConnectionInSettingsPhp function core/tests/Drupal/FunctionalTests/ExistingDrupal8StyleDatabaseConnectionInSettingsPhpTest.php Confirms that the replica database connection works.
FieldableEntityDefinitionUpdateTest::$database property core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php The database connection.
FileFieldFileExtensionsUpdateTest::setDatabaseDumpFiles function core/modules/file/tests/src/Functional/Update/FileFieldFileExtensionsUpdateTest.php Set database dump files to be used.
FloodTest::testDatabaseBackend function core/modules/system/tests/src/Kernel/System/FloodTest.php Tests flood control database backend.
ForumIndexStorage::$database property core/modules/forum/src/ForumIndexStorage.php The active database connection.
FunctionalTestSetupTrait::getDatabaseTypes function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Returns all supported database driver installer objects.
Gettext::fileToDatabase function core/modules/locale/src/Gettext.php Reads the given PO files into the database.
GlossaryStatusFilterTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/GlossaryStatusFilterTest.php Set database dump files to be used.
HalSettingsDeletionUpdateTest::setDatabaseDumpFiles function core/modules/hal/tests/src/Functional/Update/HalSettingsDeletionUpdateTest.php Set database dump files to be used.
HelpSearch::$database property core/modules/help_topics/src/Plugin/Search/HelpSearch.php The current database connection.
IdentifierFieldSchemaTypeUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/IdentifierFieldSchemaTypeUpdateTest.php Set database dump files to be used.
ImageLazyLoadUpdateTest::setDatabaseDumpFiles function core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php Set database dump files to be used.
InlineBlockUsage::$database property core/modules/layout_builder/src/InlineBlockUsage.php The database connection.
InstallerDatabaseErrorMessagesTest class core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php Tests the installer with database errors.
InstallerDatabaseErrorMessagesTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
InstallerDatabaseErrorMessagesTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php The theme to install as the default for testing.
InstallerDatabaseErrorMessagesTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php Installer step: Configure settings.
InstallerDatabaseErrorMessagesTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php Final installer step: Configure site.
InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage function core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php Verifies that the error message in the settings step is correct.
InstallerExistingBrokenDatabaseSettingsTest class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Tests the installer with broken database connection info in settings.php.
InstallerExistingBrokenDatabaseSettingsTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
InstallerExistingBrokenDatabaseSettingsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php The theme to install as the default for testing.
InstallerExistingBrokenDatabaseSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Prepares the current environment for running the test.
InstallerExistingBrokenDatabaseSettingsTest::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Installer step: Requirements problem.
InstallerExistingBrokenDatabaseSettingsTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Installer step: Configure settings.
InstallerExistingBrokenDatabaseSettingsTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Final installer step: Configure site.
InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php Tests the expected requirements problem.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.