Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / migration_templates / d7_comment_entity_form_display.yml
index 0315c4a4518f82f0f37972468730598fc11fd8ae..48bb7bc5708278c9f4e085c651076794c6755e96 100644 (file)
@@ -3,20 +3,26 @@ label: Comment field form display configuration
 migration_tags:
   - Drupal 7
 source:
-  plugin: d7_comment_type
+  plugin: d7_node_type
   constants:
     entity_type: node
-    field_name: comment
     form_mode: default
     options:
       type: comment_default
       weight: 20
 process:
   entity_type: 'constants/entity_type'
-  field_name: 'constants/field_name'
+  field_name:
+    -
+      plugin: migration_lookup
+      source: type
+      migration: d7_comment_type
+    -
+      plugin: skip_on_empty
+      method: row
   form_mode: 'constants/form_mode'
   options: 'constants/options'
-  bundle: node_type
+  bundle: type
 destination:
   plugin: component_entity_form_display
 migration_dependencies: