Search for database

  1. Search 7.x for database
  2. Search 9.5.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
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::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.
InstallerExistingDatabaseSettingsTest class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php Tests the installer with an existing settings file with database connection
info.
InstallerExistingDatabaseSettingsTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php
InstallerExistingDatabaseSettingsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php The theme to install as the default for testing.
InstallerExistingDatabaseSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php Prepares the current environment for running the test.
InstallerExistingDatabaseSettingsTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php @todo The database settings form is not supposed to appear if settings.php
contains a valid database connection already (but e.g. no config
directories yet).
InstallerExistingDatabaseSettingsTest::testInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php Verifies that installation succeeded.
InstallerNonDefaultDatabaseDriverTest class core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php Tests the interactive installer.
InstallerNonDefaultDatabaseDriverTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
InstallerNonDefaultDatabaseDriverTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php The theme to install as the default for testing.
InstallerNonDefaultDatabaseDriverTest::$testDriverName property core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php The name of the test database driver in use.
InstallerNonDefaultDatabaseDriverTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php Installer step: Configure settings.
InstallerNonDefaultDatabaseDriverTest::testInstalled function core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php Confirms that the installation succeeded.
InstallProfileSystemInstall8300Test::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/InstallProfileSystemInstall8300Test.php Set database dump files to be used.
install_database_errors function core/includes/install.core.inc Checks a database connection and returns any errors.
install_verify_database_ready function core/includes/install.core.inc Verify that the database is ready (no existing Drupal installation).
install_verify_database_settings function core/includes/install.core.inc Verifies that settings.php specifies a valid database connection.
KernelTestBase::$databasePrefix property core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the Database connection info to be used for this test.
KernelTestBase::getDatabasePrefix function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::tearDownCloseDatabaseConnection function core/tests/Drupal/KernelTests/KernelTestBase.php @after
KernelTestBaseTest::testGetDatabaseConnectionInfoWithOutManualSetDbUrl function core/tests/Drupal/KernelTests/KernelTestBaseTest.php @covers ::getDatabaseConnectionInfo[[api-linebreak]]
keyvalue.database service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueDatabaseFactory
keyvalue.expirable.database service core/core.services.yml Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory
KeyValueDatabaseExpirableFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php
KeyValueDatabaseExpirableFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The database connection.
KeyValueDatabaseExpirableFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php The serialization class to use.
KeyValueDatabaseExpirableFactory::$storages property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Holds references to each instantiation so they can be terminated.
KeyValueDatabaseExpirableFactory::garbageCollection function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Deletes expired items.
KeyValueDatabaseExpirableFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Constructs a new expirable key/value store for a given collection name.
KeyValueDatabaseExpirableFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php Constructs this factory object.
KeyValueDatabaseFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Defines the key/value store factory for the database backend.
KeyValueDatabaseFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php
KeyValueDatabaseFactory::$connection property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The database connection to use.
KeyValueDatabaseFactory::$serializer property core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php The serialization class to use.
KeyValueDatabaseFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php Constructs a new key/value store for a given collection name.

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