72 string references to database
- AssignOwnerNode::create in core/
modules/ action/ src/ Plugin/ Action/ AssignOwnerNode.php - BackendCompilerPass::process in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ BackendCompilerPass.php - phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
- 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.
- BatchBidSerialUpdateTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ BatchBidSerialUpdateTest.php - Tests the change of the {batch} table [bid] field to serial.
- CacheCollectorTest::register in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - 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 - ConfigCRUDTest::testDataTypes in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigCRUDTest.php - Tests data type handling.
- Connection::open in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php - CredentialForm::validateForm in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - 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.
- DatabaseDriver::getPath in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php - DatabaseDriverList::doList in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriverList.php - 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 - DbCommandBase::getDatabaseConnection in core/
lib/ Drupal/ Core/ Command/ DbCommandBase.php - Parse input options decide on a database.
- DbDumpCommandTest::setUp in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ Console/ DbDumpCommandTest.php - DblogClearLogConfirmForm::create in core/
modules/ dblog/ src/ Form/ DblogClearLogConfirmForm.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.
- EntityDefinitionUpdateProviderTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateProviderTest.php - EntityDefinitionUpdateTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - EntityReference::create in core/
modules/ views/ src/ Plugin/ views/ display/ EntityReference.php - EntitySchemaTest::refreshServices in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntitySchemaTest.php - 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 - 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::floodBackendProvider in core/
modules/ system/ tests/ src/ Kernel/ System/ FloodTest.php - Provides an array of backends for testClearByPrefix.
- FloodTest::testDatabaseBackend in core/
modules/ system/ tests/ src/ Kernel/ System/ FloodTest.php - Tests flood control database backend.
- HelpSearch::create in core/
modules/ help/ src/ Plugin/ Search/ HelpSearch.php - 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.
- InlineBlockUsageTest::setUp in core/
modules/ layout_builder/ tests/ src/ Kernel/ InlineBlockUsageTest.php - InstallTest::testGetSchemaAtInstallTime in core/
modules/ system/ tests/ src/ Kernel/ Module/ InstallTest.php - Verify that drupal_get_schema() can be used during module installation.
- KernelTestBaseTest::testSetUp in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::setUp
- LayoutBuilderServiceProvider::register in core/
modules/ layout_builder/ src/ LayoutBuilderServiceProvider.php - LockTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Lock/ LockTest.php - MenuDeleteForm::create in core/
modules/ menu_ui/ src/ Form/ MenuDeleteForm.php - 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.
- MigrateUpgradeExecuteTestBase::assertLogError in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php - Asserts log errors.
- ModuleInstaller::updateKernel in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Updates the kernel module list.
- NodeCounter::create in core/
modules/ statistics/ src/ Plugin/ migrate/ destination/ NodeCounter.php - NodeNewComments::create in core/
modules/ comment/ src/ Plugin/ views/ field/ NodeNewComments.php - NodeSearch::create in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - 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 - 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 - ShortcutSetStorage::createInstance in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - SiteSettingsForm::submitForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - SiteSettingsForm::validateForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - SmartDefaultSettingsTest::setUp in core/
modules/ ckeditor5/ tests/ src/ Kernel/ SmartDefaultSettingsTest.php - SqlBase::__sleep in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - SqlContentEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - StringFilter::create in core/
modules/ views/ src/ Plugin/ views/ filter/ StringFilter.php - StyleTableTest::testGrouping in core/
modules/ views/ tests/ src/ Functional/ Plugin/ StyleTableTest.php - Tests grouping by a field.
- Update10101::create in core/
modules/ pgsql/ src/ Update10101.php - UpdatePathTestBase::testDatabaseLoaded in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Tests that the database was properly loaded.
- UserSearch::create in core/
modules/ user/ src/ Plugin/ Search/ UserSearch.php - UserSelection::create in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - UserUid::create in core/
modules/ comment/ src/ Plugin/ views/ argument/ UserUid.php - UserUpdateRoleMigrateTest::testRolePermissions in core/
modules/ user/ tests/ src/ Functional/ Update/ UserUpdateRoleMigrateTest.php - Tests that roles have only existing permissions.
- Y2038TimestampUpdateTest::collectTimestampFieldsFromDatabase in core/
modules/ system/ tests/ src/ Functional/ Update/ Y2038TimestampUpdateTest.php - Collect the timestamp fields from the database and update table list.
- Y2038TimestampUpdateTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Update/ Y2038TimestampUpdateTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.