d7_to_d10_migration/drupal10/ref_migrations/migrate_plus.migration.upgrade_block_content_entity_display.yml
Mauricio Dinarte f4bd2062fa Add generated migrations
Migrations created with the migrate_upgrade module using the command

```
drush --yes migrate:upgrade
  --legacy-db-key='migrate'
  --legacy-root='http://ddev-migration-drupal7-web'
  --configure-only
```
2024-07-22 21:38:36 -06:00

68 lines
1.3 KiB
YAML

uuid: 6e55553b-fd39-4a4a-b196-bf30d9ed612a
langcode: en
status: true
dependencies: { }
id: upgrade_block_content_entity_display
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 6'
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'Body field display configuration'
source:
plugin: embedded_data
data_rows:
-
entity_type: block_content
bundle: basic
view_mode: default
field_name: body
options:
label: hidden
ids:
entity_type:
type: string
bundle:
type: string
view_mode:
type: string
field_name:
type: string
source_module: block
process:
entity_type:
-
plugin: get
source: entity_type
-
plugin: static_map
map:
field_collection_item: paragraph
paragraphs_item: paragraph
bypass: true
bundle:
-
plugin: get
source: bundle
view_mode:
-
plugin: get
source: view_mode
field_name:
-
plugin: get
source: field_name
options:
-
plugin: get
source: options
destination:
plugin: component_entity_display
migration_dependencies:
required:
- upgrade_block_content_body_field
optional:
- upgrade_d7_field_collection_type