Search for database

  1. Search 7.x for database
  2. Search 9.5.x for database
  3. Search 8.9.x for database
  4. Search 10.3.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
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php Deletes translations using conditions.
StringDatabaseStorage::findString function core/modules/locale/src/StringDatabaseStorage.php Loads a string source object, fast query.
StringDatabaseStorage::findTranslation function core/modules/locale/src/StringDatabaseStorage.php Loads a string translation object, fast query.
StringDatabaseStorage::getLocations function core/modules/locale/src/StringDatabaseStorage.php Loads string location information.
StringDatabaseStorage::getStrings function core/modules/locale/src/StringDatabaseStorage.php Loads multiple source string objects.
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string translation objects.
StringDatabaseStorage::save function core/modules/locale/src/StringDatabaseStorage.php Save string object to storage.
StringDatabaseStorage::updateLocation function core/modules/locale/src/StringDatabaseStorage.php Update locations for string.
StringDatabaseStorage::__construct function core/modules/locale/src/StringDatabaseStorage.php Constructs a new StringDatabaseStorage class.
StubConnection::createDatabase function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Creates a database.
StubConnection::databaseType function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Returns the name of the database engine accessed by this driver.
Tasks::initializeDatabase function core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php Make PostgreSQL Drupal friendly.
Tasks::validateDatabaseSettings function core/lib/Drupal/Core/Database/Install/Tasks.php Validates driver specific configuration settings.
TempStoreDatabaseTest class core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php Tests the temporary object storage system.
TempStoreDatabaseTest.php file core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php
TempStoreDatabaseTest::testSharedTempStore function core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php Tests the SharedTempStore API.
TestableSqlContentEntityStorage::$database property core/tests/Drupal/KernelTests/Core/Entity/Sql/TestableSqlContentEntityStorage.php Active database connection.
TestDatabase class core/lib/Drupal/Core/Test/TestDatabase.php Provides helper methods for interacting with the fixture database.
TestDatabase.php file core/lib/Drupal/Core/Test/TestDatabase.php
TestDatabase::$databasePrefix property core/lib/Drupal/Core/Test/TestDatabase.php The test database prefix.
TestDatabase::$lockId property core/lib/Drupal/Core/Test/TestDatabase.php The test lock ID.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestDatabase::getLockFile function core/lib/Drupal/Core/Test/TestDatabase.php Gets the lock file path.
TestDatabase::getPhpErrorLogPath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the file path of the PHP error log of the test.
TestDatabase::getTestLock function core/lib/Drupal/Core/Test/TestDatabase.php Generates a unique lock ID for the test method.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
TestDatabase::releaseAllTestLocks function core/lib/Drupal/Core/Test/TestDatabase.php Releases all test locks.
TestDatabase::releaseLock function core/lib/Drupal/Core/Test/TestDatabase.php Releases a lock.
TestDatabase::__construct function core/lib/Drupal/Core/Test/TestDatabase.php TestDatabase constructor.
TestDatabaseTest class core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @coversDefaultClass \Drupal\Core\Test\TestDatabase[[api-linebreak]]
TestDatabaseTest.php file core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php
TestDatabaseTest::providerTestConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Data provider for self::testConstructor()
TestDatabaseTest::testConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
@covers ::getDatabasePrefix[[api-linebreak]]
@covers ::getTestSitePath[[api-linebreak]]
@covers ::getPhpErrorLogPath[[api-linebreak]]
TestDatabaseTest::testConstructorException function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
TestDatabaseTest::testConstructorNullPrefix function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Verify that a test lock is generated if there is no provided prefix.
TestDrupal6SqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tweaks Drupal6SqlBase to set a new database connection for tests.
TestDrupalSqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Tweaks DrupalSqlBase to set a new database connection for tests.
TestRun::$databasePrefix property core/lib/Drupal/Core/Test/TestRun.php The test database prefix.
TestRun::getDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Gets the test database prefix.
TestRun::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Sets the test database prefix.
TestRunResultsStorageInterface::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Sets the test database prefix of a test run in storage.
TestSandboxDatabaseUpdatesValidator class core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Allows tests to dictate which extensions have staged database updates.
TestSandboxDatabaseUpdatesValidator.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php
TestSandboxDatabaseUpdatesValidator::$state property core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php The state service.
TestSandboxDatabaseUpdatesValidator::hasStagedUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php
TestSandboxDatabaseUpdatesValidator::setExtensionsWithUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the names of the extensions which should have staged database updates.
TestSandboxDatabaseUpdatesValidator::setState function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the state service dependency.
TestService::$database property core/modules/system/tests/modules/autowire_test/src/TestService.php The database connection.
TestService::getDatabase function core/modules/system/tests/modules/autowire_test/src/TestService.php
TestSetupTrait::$databasePrefix property core/lib/Drupal/Core/Test/TestSetupTrait.php The database prefix of this test run.

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