You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.3 KiB

2 years ago
uuid: b21dd176-7d98-49e5-8be9-17d81c71516c
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
- upgrade_d7_paragraphs_type