71 string references to database

AssignOwnerNode::create in core/modules/node/src/Plugin/Action/AssignOwnerNode.php
Creates an instance of the plugin.
BackendCompilerPass::process in core/lib/Drupal/Core/DependencyInjection/Compiler/BackendCompilerPass.php
BackendCompilerPassTest::getSqliteContainer in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
Creates a container with a sqlite database service in it.
CacheCollectorTest::register in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Registers test-specific services.
ChainedFastBackendTest::createCacheBackend in core/tests/Drupal/KernelTests/Core/Cache/ChainedFastBackendTest.php
Creates a new instance of ChainedFastBackend.
CommentStorage::createInstance in core/modules/comment/src/CommentStorage.php
Instantiates a new instance of this entity handler.
ConfigCRUDTest::testDataTypes in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests data type handling.
Connection::open in core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
Opens a PDO connection.
CoreServiceProvider::alter in core/lib/Drupal/Core/CoreServiceProvider.php
Alters the UUID service to use the most efficient method available.
DatabaseBackendTest::createCacheBackend in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php
Creates a new instance of DatabaseBackend.
DatabaseBackendTest::getNumRows in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php
Gets the number of rows in the test cache bin database table.
DatabaseStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Config/Storage/DatabaseStorageTest.php
DatabaseTestController::create in core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php
Instantiates a new instance of this class.
DbCommandBase::getDatabaseConnection in core/lib/Drupal/Core/Command/DbCommandBase.php
Parse input options decide on a database.
DbDumpCommandTest::setUp in core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
DblogClearLogConfirmForm::create in core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
Instantiates a new instance of this class.
DbLogController::create in core/modules/dblog/src/Controller/DbLogController.php
Instantiates a new instance of this class.
DefaultContentModerationStateRevisionUpdateTest::assertCompositeEntityMatchesDefaultRevisionId in core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php
Assert for the given entity, the default revision ID matches.
DrupalKernel::handleException in core/lib/Drupal/Core/DrupalKernel.php
Converts an exception into a response.
DrupalTest::testDatabase in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the database() method.
EntityBundleFieldTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
EntityConverterLatestRevisionTest::testOptimizedConvert in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
Tests that pending revisions are loaded only when needed.
EntityDefinitionUpdateTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
EntityReference::create in core/modules/views/src/Plugin/views/display/EntityReference.php
Creates an instance of the plugin.
EntitySchemaTest::refreshServices in core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php
Refresh services.
EntitySchemaTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php
Error::decodeException in core/lib/Drupal/Core/Utility/Error.php
Decodes an exception and retrieves the correct caller.
ErrorTestController::create in core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
Instantiates a new instance of this class.
ExportStorageManagerTest::testGetStorage in core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
Test getting the export storage.
ExportStorageManagerTest::testGetStorageLock in core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
Test the export storage when it is locked.
FieldableEntityDefinitionUpdateTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
FieldUpdateTest::setUp in core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php
Overrides WebTestBase::setUp() for update testing.
FloodTest::testDatabaseBackend in core/modules/system/tests/src/Kernel/System/FloodTest.php
Test flood control database backend.
HelpSearch::create in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Creates an instance of the plugin.
ImportStorageTransformerTest::testTransformLocked in core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
Test that the import transformer throws an exception.
ImportStorageTransformerTest::testTransformWhileImporting in core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
Test the import transformer during a running config import.
InlineBlockEntityOperations::create in core/modules/layout_builder/src/InlineBlockEntityOperations.php
Instantiates a new instance of this class.
KernelTestBaseTest::testSetUp in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::setUp
KernelTestBaseTest::testSetUp in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Tests expected behavior of setUp().
LayoutBuilderServiceProvider::register in core/modules/layout_builder/src/LayoutBuilderServiceProvider.php
Registers services to the container.
LockTest::setUp in core/tests/Drupal/KernelTests/Core/Lock/LockTest.php
MenuDeleteForm::create in core/modules/menu_ui/src/Form/MenuDeleteForm.php
Instantiates a new instance of this class.
MenuTreeStorageTest::doTestTable in core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
Ensures that table gets created on the fly.
MenuTreeStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
MigrateSqlSourceTestBase::testSource in core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php
Tests the source plugin against a particular data set.
MigrateSqlSourceTestCase::setUp in core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php
NodeCounter::create in core/modules/statistics/src/Plugin/migrate/destination/NodeCounter.php
Creates an instance of the plugin.
NodeNewComments::create in core/modules/comment/src/Plugin/views/field/NodeNewComments.php
Creates an instance of the plugin.
NodeRevisionDeleteForm::create in core/modules/node/src/Form/NodeRevisionDeleteForm.php
Instantiates a new instance of this class.
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
Creates an instance of the plugin.
QueryBatchTest::testQueryBatch in core/modules/migrate/tests/src/Kernel/QueryBatchTest.php
Tests query batch size.
Roles::create in core/modules/user/src/Plugin/views/field/Roles.php
Creates an instance of the plugin.
RouterIndexOptimizationTest::testUpdate in core/modules/system/tests/src/Functional/Update/RouterIndexOptimizationTest.php
Ensures that the system_update_8002() runs as expected.
SelectTest::testRegularExpressionCondition in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Tests that filter by 'REGEXP' and 'NOT REGEXP' works as expected.
ShortcutSetDeleteForm::create in core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php
Instantiates a new instance of this class.
ShortcutSetStorage::createInstance in core/modules/shortcut/src/ShortcutSetStorage.php
Instantiates a new instance of this entity handler.
SimpletestResultsForm::create in core/modules/simpletest/src/Form/SimpletestResultsForm.php
Instantiates a new instance of this class.
SiteSettingsForm::submitForm in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Form submission handler.
SiteSettingsForm::validateForm in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Form validation handler.
SqlContentEntityStorage::createInstance in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Instantiates a new instance of this entity handler.
StringFilter::create in core/modules/views/src/Plugin/views/filter/StringFilter.php
Creates an instance of the plugin.
StyleTableTest::testGrouping in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests grouping by a field.
TaxonomyParentUpdateTest::setUp in core/modules/taxonomy/tests/src/Functional/Update/TaxonomyParentUpdateTest.php
Overrides WebTestBase::setUp() for update testing.
TestDeprecatedTestHooks::testHookTestGroupStarted in core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php
@expectedDeprecation The deprecated hook hook_test_group_started() is implemented in these functions: simpletest_deprecation_test_test_group_started(). Convert your test to a PHPUnit-based one and implement test listeners. Seeā€¦
TrackerController::create in core/modules/tracker/src/Controller/TrackerController.php
Instantiates a new instance of this class.
UpdatePathTestBaseTest::testDatabaseLoaded in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that the database was properly loaded.
UserSearch::create in core/modules/user/src/Plugin/Search/UserSearch.php
Creates an instance of the plugin.
UserSelection::create in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
Creates an instance of the plugin.
UserUid::create in core/modules/comment/src/Plugin/views/argument/UserUid.php
Creates an instance of the plugin.
Vid::create in core/modules/node/src/Plugin/views/argument/Vid.php
Creates an instance of the plugin.
ViewsEntitySchemaSubscriberIntegrationTest::setUp in core/modules/views/tests/src/Kernel/EventSubscriber/ViewsEntitySchemaSubscriberIntegrationTest.php

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