You are here

64 string references to database in Drupal 9

ArgumentNodeRevisionIdTest::testVidDeprecatedParameter in core/modules/node/tests/src/Kernel/Views/ArgumentNodeRevisionIdTest.php
Tests the Vid argument deprecation.
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::getDrivertestMysqlContainer in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
Creates a container with a DrivertestMysql database mock definition in it.
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.
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.
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
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
Tests getting the export storage.
ExportStorageManagerTest::testGetStorageLock in core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
Tests the export storage when it is locked.
FieldableEntityDefinitionUpdateTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
FloodTest::testDatabaseBackend in core/modules/system/tests/src/Kernel/System/FloodTest.php
Tests 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
Tests that the import transformer throws an exception.
ImportStorageTransformerTest::testTransformWhileImporting in core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
Tests the import transformer during a running config import.
KernelTestBaseTest::testSetUp in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::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.
ModuleInstaller::updateKernel in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Updates the kernel module list.
ModuleInstaller::__construct in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Constructs a new ModuleInstaller instance.
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.
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.
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.
SqlBase::__sleep in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
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.
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.
ViewsEntitySchemaSubscriberIntegrationTest::setUp in core/modules/views/tests/src/Kernel/EventSubscriber/ViewsEntitySchemaSubscriberIntegrationTest.php