Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / comment / migrations / d7_comment_entity_form_display.yml
diff --git a/web/core/modules/comment/migrations/d7_comment_entity_form_display.yml b/web/core/modules/comment/migrations/d7_comment_entity_form_display.yml
new file mode 100644 (file)
index 0000000..99eb531
--- /dev/null
@@ -0,0 +1,31 @@
+id: d7_comment_entity_form_display
+label: Comment field form display configuration
+migration_tags:
+  - Drupal 7
+  - Configuration
+source:
+  plugin: d7_node_type
+  constants:
+    entity_type: node
+    form_mode: default
+    options:
+      type: comment_default
+      weight: 20
+process:
+  entity_type: 'constants/entity_type'
+  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: type
+destination:
+  plugin: component_entity_form_display
+migration_dependencies:
+  required:
+    - d7_comment_field_instance