Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / migration_templates / d6_comment_entity_form_display.yml
index c33685feb6b569463566564522320f6a0faa65f2..274f3de96dd190ae6a358f5056867f2959de3a1c 100644 (file)
@@ -3,20 +3,26 @@ label: Comment field form display configuration
 migration_tags:
   - Drupal 6
 source:
-  plugin: d6_comment_variable
+  plugin: d6_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: d6_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: