You are here

98 calls to Drupal::database() in Drupal 10

BasicSyntaxTest::testGetFullQualifiedTableName in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests \Drupal\Core\Database\Connection::getFullQualifiedTableName().
batch_process in core/includes/form.inc
Processes the batch.
Breadcrumb404Test::getBreadcrumbCacheEntries in core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php
Gets the breadcrumb cache entries.
BulkDeleteTest::testPurgeWithDeletedAndActiveField in core/modules/field/tests/src/Kernel/BulkDeleteTest.php
Tests that recreating a field with the name as a deleted field works.
CacheTest::testCacheContextIntegration in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
Tests the cache context integration for views result cache.
callback_batch_operation in core/lib/Drupal/Core/Form/form.api.php
Perform a single batch operation.
CommentOrphanTest::testOrphan in core/modules/comment/tests/src/Kernel/CommentOrphanTest.php
Test loading/deleting/rendering orphaned comments.
ConfigImportUITest::testImport in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests importing configuration.
CronQueueTest::testLeaseTime in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
Tests that leases are expiring correctly, also within the same request.
DbLogControllerTest::testNonLatinCharacters in core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php
Tests links with non latin characters.
DbLogTest::testMessageParsing in core/modules/dblog/tests/src/Functional/DbLogTest.php
Test that twig errors are displayed correctly.
dblog_cron in core/modules/dblog/dblog.module
Implements hook_cron().
DeleteTest::testCronDeleteNonExistingTemporary in core/modules/file/tests/src/Kernel/DeleteTest.php
Tries to run cron deletion on file deleted from the file-system.
DisplayBlockTest::testBlockEmptyRendering in core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
Tests the various testcases of empty block rendering.
drupal-7.contact.database.php in core/modules/contact/tests/drupal-7.contact.database.php
DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList in core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php
Tests that drupal_flush_all_caches() uses core.extension properly.
DrupalTest::testDatabase in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the database() method.
EmailActionTest::testEmailAction in core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php
Tests the email action plugin.
EndOfTransactionQueriesTest::testEntitySave in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
entity_test_update_8001 in core/modules/system/tests/modules/entity_test/update/entity_definition_updates_8001.inc
Makes the 'user_id' field multiple and migrate its data.
entity_test_update_8002 in core/modules/system/tests/modules/entity_test/update/entity_definition_updates_8002.inc
Makes the 'user_id' field single and migrate its data.
FieldCrudTest::testCreateFieldCustomStorage in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests creating a field with custom storage set.
FieldOrLanguageJoinTest::buildJoin in core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php
Builds a join using the given configuration.
FieldTranslationSqlStorageTest::assertFieldStorageLangcode in core/tests/Drupal/KernelTests/Core/Entity/FieldTranslationSqlStorageTest.php
Checks whether field languages are correctly stored for the given entity.
HistoryTest::testHistory in core/modules/history/tests/src/Functional/HistoryTest.php
Verifies that the history endpoints work.
history_cron in core/modules/history/history.module
Implements hook_cron().
history_node_delete in core/modules/history/history.module
Implements hook_ENTITY_TYPE_delete() for node entities.
history_read_multiple in core/modules/history/history.module
Retrieves the last viewed timestamp for each of the passed node IDs.
history_user_cancel in core/modules/history/history.module
Implements hook_user_cancel().
history_user_delete in core/modules/history/history.module
Implements hook_ENTITY_TYPE_delete() for user entities.
history_write in core/modules/history/history.module
Updates 'last viewed' timestamp of the specified entity for the current user.
hook_cron in core/core.api.php
Perform periodic actions.
hook_entity_delete in core/lib/Drupal/Core/Entity/entity.api.php
Respond to entity deletion.
hook_entity_insert in core/lib/Drupal/Core/Entity/entity.api.php
Respond to creation of a new entity.
hook_entity_predelete in core/lib/Drupal/Core/Entity/entity.api.php
Act before entity deletion.
hook_ENTITY_TYPE_delete in core/lib/Drupal/Core/Entity/entity.api.php
Respond to entity deletion of a particular type.
hook_ENTITY_TYPE_insert in core/lib/Drupal/Core/Entity/entity.api.php
Respond to creation of a new entity of a particular type.
hook_ENTITY_TYPE_predelete in core/lib/Drupal/Core/Entity/entity.api.php
Act before entity deletion of a particular entity type.
hook_ENTITY_TYPE_update in core/lib/Drupal/Core/Entity/entity.api.php
Respond to updates to an entity of a particular type.
hook_entity_update in core/lib/Drupal/Core/Entity/entity.api.php
Respond to updates to an entity.
hook_field_purge_field in core/modules/field/field.api.php
Acts when a field is being purged.
hook_field_purge_field_storage in core/modules/field/field.api.php
Acts when a field storage definition is being purged.
hook_node_search_result in core/modules/node/node.api.php
Act on a node being displayed as a search result.
hook_node_update_index in core/modules/node/node.api.php
Act on a node being indexed for searching.
hook_user_cancel in core/modules/user/user.api.php
Act on user account cancellations.
hook_user_logout in core/modules/user/user.api.php
The user just logged out.
IdAuditor::auditEntityComplete in core/modules/migrate/src/Audit/IdAuditor.php
Audits an EntityComplete migration.
IdMapTableNoDummyTest::testNoDummyTables in core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
Tests that dummy map tables do not exist.
locale_cron_fill_queue in core/modules/locale/locale.translation.inc
Populate a queue with project to check for translation updates.
locale_translate_batch_import_files in core/modules/locale/locale.bulk.inc
Prepare a batch to import all translations.
locale_translation_file_history_delete in core/modules/locale/locale.module
Deletes the history of downloaded translations.
locale_translation_get_file_history in core/modules/locale/locale.module
Gets current translation status from the {locale_file} table.
locale_translation_update_file_history in core/modules/locale/locale.module
Updates the {locale_file} table.
MigrateDateFormatTest::testDateFormats in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php
Tests the Drupal 6 date formats to Drupal 8 migration.
MigrateFileTest::testFiles in core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php
Tests the Drupal 6 files to Drupal 8 migration.
MigrateMenuTest::testMenu in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php
Tests the Drupal 6 menu to Drupal 8 migration.
MigrateMenuTest::testMenu in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php
Tests the Drupal 7 menu to Drupal 8 migration.
MigrateNodeCompleteTest::testNodeCompleteMigration in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeCompleteTest.php
Tests the complete node migration.
MigrateNodeCompleteTest::testNodeCompleteMigration in core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php
Tests the complete node migration.
MigrateNodeCompleteTest::testRollbackNodeComplete in core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php
Tests rollback of the complete node migration.
MigrateNodeTest::rerunMigration in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
Execute the migration a second time.
MigrateUrlAliasTest::testUrlAlias in core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
Tests the url alias migration.
migrate_drupal_migration_plugins_alter in core/modules/migrate_drupal/migrate_drupal.module
Implements hook_migration_plugins_alter().
MigrationConfigurationTrait::getMigrations in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the migrations for import.
ModuleHandlerTest::testModuleList in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
The basic functionality of retrieving enabled modules.
NodeAccessLanguageFallbackTest::checkRecords in core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
Queries the node_access table and checks for proper storage.
NodeMigrateTypeTestTrait::makeNodeMigrateMapTable in core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php
Create a node migrate_map table.
NodeMigrateTypeTestTrait::nodeMigrateMapTableCount in core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php
Gets the numbers of complete and classic node migrate_map tables.
NodeMigrateTypeTestTrait::removeNodeMigrateMapTable in core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php
Remove the node migrate map table.
PendingRevisionTest::getTaxonomyIndex in core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php
ResolvedLibraryDefinitionsFilesMatchTest::setUp in core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
SchemaIntrospectionTestTrait::getIndexColumnNames in core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php
Returns the column names used by the indexes of a table.
SessionHttpsTest::assertSessionIds in core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
Tests that there exists a session with two specific session IDs.
Sql::__construct in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Constructs an SQL object.
SqlTest::setUp in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
StableLibraryOverrideTestBase::enableVisibleAndStableCoreModules in core/tests/Drupal/KernelTests/Core/Theme/StableLibraryOverrideTestBase.php
Enable all core modules that are not hidden or experimental.
StyleTableTest::testEmptyColumn in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests that empty columns are hidden when empty_column is set.
taxonomy_build_node_index in core/modules/taxonomy/taxonomy.module
Builds and inserts taxonomy index entries for a given node.
taxonomy_delete_node_index in core/modules/taxonomy/taxonomy.module
Deletes taxonomy index entries for a given node.
taxonomy_taxonomy_term_delete in core/modules/taxonomy/taxonomy.module
Implements hook_ENTITY_TYPE_delete() for taxonomy_term entities.
taxonomy_tokens in core/modules/taxonomy/taxonomy.tokens.inc
Implements hook_tokens().
TrackerNodeAccessTest::testTrackerNodeAccessIndexing in core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
Ensure that tracker_cron is not access sensitive.
tracker_cron in core/modules/tracker/tracker.module
Implements hook_cron().
tracker_install in core/modules/tracker/tracker.install
Implements hook_install().
tracker_node_predelete in core/modules/tracker/tracker.module
Implements hook_ENTITY_TYPE_predelete() for node entities.
UpdatePathTestBaseTest::testDatabaseLoaded in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that the database was properly loaded.
UpdatePathTestBaseTest::testPathAliasProcessing in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that path aliases are not processed during database updates.
UserCancelTest::testUserDelete in core/modules/user/tests/src/Functional/UserCancelTest.php
Delete account and remove all content.
UserEditTest::testUserEdit in core/modules/user/tests/src/Functional/UserEditTest.php
Tests user edit page.
UserLoginHttpTest::doTestGlobalLoginFloodControl in core/modules/user/tests/src/Functional/UserLoginHttpTest.php
Tests the global login flood control for a given serialization format.
UserLoginHttpTest::doTestPerUserLoginFloodControl in core/modules/user/tests/src/Functional/UserLoginHttpTest.php
Tests the per-user login flood control for a given serialization format.
UserLoginTest::assertFailedLogin in core/modules/user/tests/src/Functional/UserLoginTest.php
Make an unsuccessful login attempt.
UserStorage::doSaveFieldItems in core/modules/user/src/UserStorage.php
Writes entity field values to the storage.
WorkspacesUninstallTest::testUninstallingWorkspace in core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php
Tests deleting workspace entities and uninstalling Workspaces module.
_batch_queue in core/includes/form.inc
Returns a queue object for a batch set.
_dblog_get_message_types in core/modules/dblog/dblog.module
Gathers a list of uniquely defined database log message types.
_tracker_add in core/modules/tracker/tracker.module
Updates indexing tables when a node is added, updated, or commented on.
_tracker_remove in core/modules/tracker/tracker.module
Cleans up indexed data when nodes or comments are removed.