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.
63 lines
1.3 KiB
63 lines
1.3 KiB
2 years ago
|
uuid: 2176f341-6d37-4431-a654-9d7653d5e4a4
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_comment_entity_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 display configuration'
|
||
|
source:
|
||
|
plugin: comment_type
|
||
|
constants:
|
||
|
entity_type: node
|
||
|
view_mode: default
|
||
|
options:
|
||
|
label: hidden
|
||
|
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
|
||
|
view_mode:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: constants/view_mode
|
||
|
options:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: constants/options
|
||
|
bundle:
|
||
|
-
|
||
|
plugin: get
|
||
|
source: type
|
||
|
destination:
|
||
|
plugin: component_entity_display
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- upgrade_d7_comment_field_instance
|
||
|
optional:
|
||
|
- upgrade_d7_field_collection_type
|
||
|
- upgrade_d7_paragraphs_type
|
||
|
- upgrade_d7_comment_type
|