52 calls to Drupal::database()

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.
callback_batch_operation in core/lib/Drupal/Core/Form/form.api.php
Perform a single batch operation.
comment_update_10100 in core/modules/comment/comment.install
Remove the year 2038 date limitation.
dblog_cron in core/modules/dblog/dblog.module
Implements hook_cron().
dblog_update_10100 in core/modules/dblog/dblog.install
Remove the year 2038 date limitation.
dblog_update_10101 in core/modules/dblog/dblog.install
Converts the 'wid' of the 'watchdog' table to a big integer.
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.
forum_update_10100 in core/modules/forum/forum.install
Remove the year 2038 date limitation.
forum_update_10102 in core/modules/forum/forum.install
Add a primary key to forum_index.
help_update_10200 in core/modules/help/help.install
Install search index table for help topics.
history_update_10100 in core/modules/history/history.install
Remove the year 2038 date limitation.
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.
locale_update_10100 in core/modules/locale/locale.install
Remove the year 2038 date limitation.
MigrateMessageControllerTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php
MigrateMessageTestBase::setUp in core/modules/migrate/tests/src/Functional/MigrateMessageTestBase.php
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().
migrate_update_10100 in core/modules/migrate/migrate.install
Remove the year 2038 date limitation.
MigrationConfigurationTrait::getMigrations in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the migrations for import.
NodeAccessTest::testQueryWithBaseTableJoin in core/modules/node/tests/src/Kernel/NodeAccessTest.php
Tests node grants for queries with node access checks and base table join.
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.
SqlContentEntityStorageRevisionDataCleanupTest::testRevisionDataCleanup in core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
Tests that stale rows in the revision data table are deleted.
SqlTest::setUp in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
statistics_update_10100 in core/modules/statistics/statistics.install
Remove the year 2038 date limitation.
system_update_10100 in core/modules/system/system.install
Remove the year 2038 date limitation.
system_update_10101 in core/modules/system/system.install
Change the {batch} table [bid] field to serial.
system_update_10201 in core/modules/system/system.install
Clear left over entries in the revision data table.
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.
tracker_update_10100 in core/modules/tracker/tracker.install
Remove the year 2038 date limitation.
UpdatePathTestBaseTest::testPathAliasProcessing in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that path aliases are not processed during database updates.
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.
_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.

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