Flatten all threads in the comments

This commit is contained in:
David Valdez 2018-09-05 21:25:46 -05:00
parent 54c3ac9b46
commit 45731ed90f

View file

@ -6,16 +6,10 @@ source:
constants:
entity_type: node
comment_type: comment
default_pid: 0
process:
pid:
-
plugin: migration_lookup_with_zero
migration: agaric_comment
source: pid
no_stub: true
-
plugin: default_value
method: 0
# All the threads are going to be flatten.
pid: 'constants/default_pid'
entity_id:
-
plugin: migration_lookup