projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
migration_templates
/
d7_comment.yml
diff --git
a/web/core/modules/comment/migration_templates/d7_comment.yml
b/web/core/modules/comment/migration_templates/d7_comment.yml
index 94a28844770caeca3e9dc5dc998a1734c2adceb4..dff4b64ab91d1b1117e832bdbe4db7611ca62c8f 100644
(file)
--- a/
web/core/modules/comment/migration_templates/d7_comment.yml
+++ b/
web/core/modules/comment/migration_templates/d7_comment.yml
@@
-16,8
+16,15
@@
process:
source: pid
entity_id: nid
entity_type: 'constants/entity_type'
source: pid
entity_id: nid
entity_type: 'constants/entity_type'
- comment_type: comment_type
- field_name: comment_type
+ comment_type:
+ -
+ plugin: migration_lookup
+ source: node_type
+ migration: d7_comment_type
+ -
+ plugin: skip_on_empty
+ method: row
+ field_name: '@comment_type'
subject: subject
uid: uid
name: name
subject: subject
uid: uid
name: name