You are here

35 calls to Drupal::database() in Drupal 9

BasicSyntaxTest::testGetFullQualifiedTableName in core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php
Tests \Drupal\Core\Database\Connection::getFullQualifiedTableName().
Breadcrumb404Test::getBreadcrumbCacheEntries in core/tests/Drupal/FunctionalTests/Breadcrumb/Breadcrumb404Test.php
Gets the breadcrumb cache entries.
callback_batch_operation in core/lib/Drupal/Core/Form/form.api.php
Perform a single batch operation.
dblog_cron in core/modules/dblog/dblog.module
Implements hook_cron().
drupal-7.contact.database.php in core/modules/contact/tests/drupal-7.contact.database.php
DrupalTest::testDatabase in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the database() method.
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.
hook_entity_predelete in core/lib/Drupal/Core/Entity/entity.api.php
Act before entity deletion.
hook_ENTITY_TYPE_predelete in core/lib/Drupal/Core/Entity/entity.api.php
Act before entity deletion of a particular entity type.
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.
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.
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.
NodeMigrateTypeTestTrait::makeNodeMigrateMapTable in core/modules/migrate_drupal/tests/src/Traits/NodeMigrateTypeTestTrait.php
Create a node migrate_map table.
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
taxonomy_build_node_index in core/modules/taxonomy/taxonomy.module
Builds and inserts taxonomy index entries for a given node.
tracker_cron in core/modules/tracker/tracker.module
Implements hook_cron().
tracker_node_predelete in core/modules/tracker/tracker.module
Implements hook_ENTITY_TYPE_predelete() for node entities.
UidUpdateToSerialTest::testDatabaseLoaded in core/modules/user/tests/src/Functional/UidUpdateToSerialTest.php
Tests user_update_9301().
UpdatePathTestBaseTest::testPathAliasProcessing in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that path aliases are not processed during database updates.
UserLoginHttpTest::testGlobalLoginFloodControl in core/modules/user/tests/src/Functional/UserLoginHttpTest.php
Tests the global login flood control.
UserLoginHttpTest::testPerUserLoginFloodControl in core/modules/user/tests/src/Functional/UserLoginHttpTest.php
Tests the per-user login flood control.
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.
user_update_9301 in core/modules/user/user.install
Change the users table to use an serial uid field.
_batch_queue in core/includes/form.inc
Returns a queue object for a batch set.
_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.