d7_to_d10_migration/drupal10/ref_migrations/migrate_plus.migration.upgrade_block_content_entity_form_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

62 lines
1.2 KiB
YAML

uuid: 8dc8f27e-092c-4bb1-bd57-6700b73248e0
langcode: en
status: true
dependencies: { }
id: upgrade_block_content_entity_form_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 form display configuration'
source:
plugin: embedded_data
data_rows:
-
entity_type: block_content
bundle: basic
form_mode: default
field_name: body
ids:
entity_type:
type: string
bundle:
type: string
form_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
form_mode:
-
plugin: get
source: form_mode
field_name:
-
plugin: get
source: field_name
destination:
plugin: component_entity_form_display
migration_dependencies:
required:
- upgrade_block_content_body_field
optional:
- upgrade_d7_field_collection_type