diff core/modules/comment/migrations/d6_comment.yml @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children af1871eacc83
line wrap: on
line diff
--- a/core/modules/comment/migrations/d6_comment.yml	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/comment/migrations/d6_comment.yml	Thu Feb 28 13:21:36 2019 +0000
@@ -16,7 +16,16 @@
     plugin: migration_lookup
     migration: d6_comment
     source: pid
-  entity_id: nid
+  entity_id:
+    -
+      plugin: migration_lookup
+      migration:
+        - d6_node
+        - d6_node_translation
+      source: nid
+    -
+      plugin: skip_on_empty
+      method: row
   entity_type: 'constants/entity_type'
   comment_type:
     -
@@ -26,6 +35,7 @@
     -
       plugin: skip_on_empty
       method: row
+  langcode: language
   field_name: '@comment_type'
   subject: subject
   uid: uid
@@ -52,3 +62,5 @@
     - d6_comment_entity_form_display
     - d6_user
     - d6_filter_format
+  optional:
+    - d6_node_translation