Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / migration_templates / d7_comment_entity_display.yml
index 2004505f3c7dfdd8826dd02861f183e576c002e4..b206552f76ccfaae5868ebe94733704686bf1c45 100644 (file)
@@ -3,7 +3,7 @@ label: Comment display configuration
 migration_tags:
   - Drupal 7
 source:
-  plugin: d7_comment_type
+  plugin: d7_node_type
   constants:
     entity_type: node
     view_mode: default
@@ -13,10 +13,17 @@ source:
       weight: 20
 process:
   entity_type: 'constants/entity_type'
-  field_name: bundle
+  field_name:
+    -
+      plugin: migration_lookup
+      source: type
+      migration: d7_comment_type
+    -
+      plugin: skip_on_empty
+      method: row
   view_mode: 'constants/view_mode'
   options: 'constants/options'
-  bundle: node_type
+  bundle: type
 destination:
   plugin: component_entity_display
 migration_dependencies: