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.

61 lines
1.3 KiB

uuid: 6ea2f3af-8ac3-4b33-8417-69b90703a2ac
langcode: en
status: true
dependencies: { }
id: upgrade_d7_comment_entity_form_display
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'Comment field form display configuration'
source:
plugin: comment_type
constants:
entity_type: node
form_mode: default
options:
type: comment_default
weight: 20
process:
entity_type:
-
plugin: get
source: constants/entity_type
-
plugin: static_map
map:
field_collection_item: paragraph
paragraphs_item: paragraph
bypass: true
field_name:
-
plugin: migration_lookup
source: type
migration: upgrade_d7_comment_type
-
plugin: skip_on_empty
method: row
form_mode:
-
plugin: get
source: constants/form_mode
options:
-
plugin: get
source: constants/options
bundle:
-
plugin: get
source: type
destination:
plugin: component_entity_form_display
migration_dependencies:
required:
- upgrade_d7_comment_field_instance
optional:
- upgrade_d7_field_collection_type
- upgrade_d7_paragraphs_type
- upgrade_d7_comment_type