X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fmigrations%2Fd6_comment.yml;h=278e6ee21ab41513ed30ab6a5c256447870d1d5d;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=32978de82eb7ba57bddc2201f29835e0bc3be1d8;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/modules/comment/migrations/d6_comment.yml b/web/core/modules/comment/migrations/d6_comment.yml index 32978de82..278e6ee21 100644 --- a/web/core/modules/comment/migrations/d6_comment.yml +++ b/web/core/modules/comment/migrations/d6_comment.yml @@ -16,7 +16,16 @@ process: 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 @@ process: - plugin: skip_on_empty method: row + langcode: language field_name: '@comment_type' subject: subject uid: uid @@ -52,3 +62,5 @@ migration_dependencies: - d6_comment_entity_form_display - d6_user - d6_filter_format + optional: + - d6_node_translation