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.

71 lines
1.5 KiB

2 years ago
uuid: 3b8bddb6-ccef-4f19-8a20-35d7541532a2
langcode: en
status: true
dependencies: { }
id: upgrade_d7_comment_entity_form_display_subject
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 subject form display configuration'
source:
plugin: comment_type
constants:
entity_type: comment
field_name: subject
form_mode: default
options:
type: string_textfield
weight: 10
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: get
source: constants/field_name
form_mode:
-
plugin: get
source: constants/form_mode
options:
-
plugin: get
source: constants/options
bundle:
-
plugin: migration_lookup
source: type
migration: upgrade_d7_comment_type
-
plugin: skip_on_empty
method: row
hidden:
-
plugin: static_map
source: comment_subject_field
map:
- true
- false
default_value: false
destination:
plugin: component_entity_form_display
migration_dependencies:
required:
- upgrade_d7_comment_type
optional:
- upgrade_d7_field_collection_type
- upgrade_d7_paragraphs_type
- upgrade_d7_comment_type