52 calls to Drupal::database() in Drupal 8
- BasicSyntaxTest::testGetFullQualifiedTableName in core/
tests/ Drupal/ KernelTests/ Core/ Database/ BasicSyntaxTest.php - Tests \Drupal\Core\Database\Connection::getFullQualifiedTableName().
- block_content_update_8400 in core/
modules/ block_content/ block_content.install - Add a publishing status field for block_content entities.
- 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.
- CommentUpdateTest::testCommentEntityTypeAndFieldNameRequired in core/
modules/ comment/ tests/ src/ Functional/ Update/ CommentUpdateTest.php - Tests whether the 'entity_type' and 'field_name' columns are required.
- ContentTranslationUpdateTest::setUp in core/
modules/ content_translation/ tests/ src/ Functional/ Update/ ContentTranslationUpdateTest.php - Overrides WebTestBase::setUp() for update testing.
- content_translation_update_8400 in core/
modules/ content_translation/ content_translation.install - Fix the initial values for content translation metadata fields.
- 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_schema_converter_post_update_make_revisionable in core/
modules/ system/ tests/ modules/ entity_test_schema_converter/ entity_test_schema_converter.post_update.php - Update entity_test_update to be revisionable.
- 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.
- entity_test_update_update_8400 in core/
modules/ system/ tests/ modules/ entity_test_update/ update/ entity_rev_pub_updates_8400.inc - Add the 'published' entity key to entity_test_update.
- 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 - Test 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.
- media_update_8700 in core/
modules/ media/ media.install - Set the 'owner' entity key and update the field.
- MenuLinkContentUpdateTest::assertMenuLinkTitle in core/
modules/ menu_link_content/ tests/ src/ Functional/ Update/ MenuLinkContentUpdateTest.php - Assert that a menu link label matches the expectation.
- MenuTreeSerializationTitleTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ MenuTreeSerializationTitleTest.php - Ensures that the system_update_8001() runs as expected.
- 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.
- NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionPermissionsTest.php - Tests general revision access permissions.
- NodeRevisionPermissionsTest::testNodeRevisionAccessPerType in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionPermissionsTest.php - Tests revision access permissions for a specific content type.
- PathAliasToEntityUpdateTest::testConversionToEntities in core/
modules/ system/ tests/ src/ Functional/ Update/ PathAliasToEntityUpdateTest.php - Tests the conversion of path aliases to entities.
- Sql::__construct in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php - Constructs an SQL object.
- system_update_8001 in core/
modules/ system/ system.install - Change two fields on the default menu link storage to be serialized data.
- system_update_8003 in core/
modules/ system/ system.install - Change the index on the {router} table.
- system_update_8007 in core/
modules/ system/ system.install - Set langcode fields to be ASCII-only.
- system_update_8400 in core/
modules/ system/ system.install - Move revision metadata fields to the revision table.
- system_update_8804 in core/
modules/ system/ system.install - Convert path aliases to entities.
- TaxonomyTermUpdatePathTest::assertTermName in core/
modules/ taxonomy/ tests/ src/ Functional/ Update/ TaxonomyTermUpdatePathTest.php - Assert that a term name matches the expectation.
- taxonomy_build_node_index in core/
modules/ taxonomy/ taxonomy.module - Builds and inserts taxonomy index entries for a given node.
- taxonomy_update_8502 in core/
modules/ taxonomy/ taxonomy.install - Copy hierarchy from {taxonomy_term_hierarchy} to {taxonomy_term__parent}.
- taxonomy_update_8702 in core/
modules/ taxonomy/ taxonomy.install - Fix the parent field langcode data.
- 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.
- UpdatePathTestBaseTest::testPathAliasProcessing in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that path aliases are not processed during database updates.
- WorkspacesUpdateTest::testWorkspaceAssociationRemoval in core/
modules/ workspaces/ tests/ src/ Functional/ Update/ WorkspacesUpdateTest.php - Tests the move of workspace association data to a custom table.
- workspaces_post_update_move_association_data in core/
modules/ workspaces/ workspaces.post_update.php - Move the workspace association data to an entity field and a custom table.
- _batch_queue in core/
includes/ form.inc - Returns a queue object for a batch set.
- _menu_link_content_post_update_make_menu_link_content_revisionable__fix_default_langcode in core/
modules/ menu_link_content/ menu_link_content.post_update.php - Fixes recoverable data integrity issues in the "default_langcode" field.
- _taxonomy_post_update_make_taxonomy_term_revisionable__fix_default_langcode in core/
modules/ taxonomy/ taxonomy.post_update.php - Fixes recoverable data integrity issues in the "default_langcode" field.
- _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.