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. Search main for database
  6. 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
SharedDatabaseStateViolationTest.php file core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php
SharedDatabaseStateViolationTest::$failReset property core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Whether ::resetEnvironment() throws.
SharedDatabaseStateViolationTest::$modules property core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Modules to install.
SharedDatabaseStateViolationTest::ADDED_TABLE constant core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php A table that a test method adds and does not remove.
SharedDatabaseStateViolationTest::PROBE_SCHEMA constant core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php The schema of the probe table.
SharedDatabaseStateViolationTest::PROBE_TABLE constant core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php The name of a table belonging to the initial state.
SharedDatabaseStateViolationTest::resetEnvironment function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Resets the environment after a test method has run.
SharedDatabaseStateViolationTest::setUpEnvironment function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Sets up the environment shared by every test method in this class.
SharedDatabaseStateViolationTest::testAddedTableIsReported function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Tests that a table the test method added is dropped and reported.
SharedDatabaseStateViolationTest::testDroppedTableIsReported function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Tests that dropping a table of the initial state is reported.
SharedDatabaseStateViolationTest::testFinal function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Tests that the previous restores of the state table succeeded.
SharedDatabaseStateViolationTest::testInvalidationRecordsTheReason function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Tests that invalidating the state records the reason durably.
SharedDatabaseStateViolationTest::testResetFailureIsRecorded function core/tests/Drupal/KernelTests/SharedDatabaseStateViolationTest.php Tests that a cleanup failing is recorded.
ShortcutSetDeleteForm::$database property core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php The database connection.
SimpletestTestRunResultsStorage::setDatabasePrefix function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Sets the test database prefix of a test run in storage.
SiteSettingsForm::getDatabaseErrors function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Get any database errors and links them to a form element.
SiteSettingsForm::getDatabaseErrorsTemplate function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Gets the inline template render array to display the database errors.
SmartDefaultSettingsTest::$database property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The database connection used.
Sql::$database property core/modules/migrate/src/Plugin/migrate/id_map/Sql.php The database connection for the map/message tables on the destination.
Sql::getDatabase function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Gets the database connection.
SqlBase::$database property core/modules/migrate/src/Plugin/migrate/source/SqlBase.php The database object.
SqlBase::getDatabase function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Gets the database connection object.
SqlBase::setUpDatabase function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Gets a connection to the referenced database.
SqlContentEntityStorage::$database property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Active database connection.
SqlContentEntityStorageSchema::$database property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php The database connection to be used.
SqliteDatabaseExcluder class core/modules/package_manager/src/PathExcluder/SqliteDatabaseExcluder.php Excludes SQLite database files from stage operations.
SqliteDatabaseExcluder.php file core/modules/package_manager/src/PathExcluder/SqliteDatabaseExcluder.php
SqliteDatabaseExcluder::excludeDatabaseFiles function core/modules/package_manager/src/PathExcluder/SqliteDatabaseExcluder.php Excludes SQLite database files from stage operations.
SqliteDatabaseExcluder::getSubscribedEvents function core/modules/package_manager/src/PathExcluder/SqliteDatabaseExcluder.php
SqliteDatabaseExcluder::__construct function core/modules/package_manager/src/PathExcluder/SqliteDatabaseExcluder.php
SqliteDatabaseExcluderTest class core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php Tests Sqlite Database Excluder.
SqliteDatabaseExcluderTest.php file core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php
SqliteDatabaseExcluderTest::$mockDatabase property core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php The mocked database connection.
SqliteDatabaseExcluderTest::providerSqliteDatabaseFilesExcluded function core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php Data provider for ::testSqliteDatabaseFilesExcluded().
SqliteDatabaseExcluderTest::register function core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php Registers test-specific services.
SqliteDatabaseExcluderTest::testSqliteDatabaseFilesExcluded function core/modules/package_manager/tests/src/Kernel/PathExcluder/SqliteDatabaseExcluderTest.php Tests that SQLite database files are excluded from stage operations.
SqliteDateSql::$database property core/modules/views/src/Plugin/views/query/SqliteDateSql.php The database connection.
SqliteDateSqlTest::$database property core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php The mocked database service.
SqlModeTest::getDatabaseConnectionInfo function core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php Returns the Database connection info to be used for this test.
SqlModeTest::getDatabaseConnectionInfo function core/modules/mysqli/tests/src/Kernel/mysqli/SqlModeTest.php Returns the Database connection info to be used for this test.
SqlTest::$database property core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Database connection.
StagedDBUpdateValidatorTest::providerStagedDatabaseUpdate function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php Data provider for ::testStagedDatabaseUpdates().
StagedDBUpdateValidatorTest::testStagedDatabaseUpdate function core/modules/package_manager/tests/src/Kernel/StagedDBUpdateValidatorTest.php Tests validation of staged database updates.
StringDatabaseStorage class core/modules/locale/src/StringDatabaseStorage.php Defines a class to store localized strings in the database.
StringDatabaseStorage.php file core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::$connection property core/modules/locale/src/StringDatabaseStorage.php The database connection.
StringDatabaseStorage::$options property core/modules/locale/src/StringDatabaseStorage.php Additional database connection options to use in queries.
StringDatabaseStorage::checkVersion function core/modules/locale/src/StringDatabaseStorage.php Checks whether the string version matches a given version, fix it if not.
StringDatabaseStorage::countStrings function core/modules/locale/src/StringDatabaseStorage.php Counts source strings.
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php Counts translations.

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