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
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 @covers \Drupal\package_manager\PathExcluder\SqliteDatabaseExcluder[[api-linebreak]]
@group package_manager
@internal
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.
StringDatabaseStorage::createString function core/modules/locale/src/StringDatabaseStorage.php Creates a source string object bound to this storage but not saved.
StringDatabaseStorage::createTranslation function core/modules/locale/src/StringDatabaseStorage.php Creates a string translation object bound to this storage but not saved.
StringDatabaseStorage::dbDelete function core/modules/locale/src/StringDatabaseStorage.php Creates delete query.
StringDatabaseStorage::dbExecute function core/modules/locale/src/StringDatabaseStorage.php Executes an arbitrary SELECT query string with the injected options.
StringDatabaseStorage::dbFieldTable function core/modules/locale/src/StringDatabaseStorage.php Gets table alias for field.
StringDatabaseStorage::dbStringInsert function core/modules/locale/src/StringDatabaseStorage.php Creates a database record for a string object.
StringDatabaseStorage::dbStringKeys function core/modules/locale/src/StringDatabaseStorage.php Gets keys values that are in a database table.
StringDatabaseStorage::dbStringLoad function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string objects.
StringDatabaseStorage::dbStringSelect function core/modules/locale/src/StringDatabaseStorage.php Builds a SELECT query with multiple conditions and fields.
StringDatabaseStorage::dbStringTable function core/modules/locale/src/StringDatabaseStorage.php Gets table name for storing string object.
StringDatabaseStorage::dbStringUpdate function core/modules/locale/src/StringDatabaseStorage.php Updates string object in the database.
StringDatabaseStorage::delete function core/modules/locale/src/StringDatabaseStorage.php Delete string from storage.
StringDatabaseStorage::deleteStrings function core/modules/locale/src/StringDatabaseStorage.php Deletes source strings and translations using conditions.

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