94a28844770caeca3e9dc5dc998a1734c2adceb4
[yaffs-website] / web / core / modules / comment / migration_templates / d7_comment.yml
1 id: d7_comment
2 label: Comments
3 migration_tags:
4   - Drupal 7
5 source:
6   plugin: d7_comment
7   constants:
8     entity_type: node
9 process:
10   # If you are using this file to build a custom migration consider removing
11   # the cid field to allow incremental migrations.
12   cid: cid
13   pid:
14     plugin: migration_lookup
15     migration: d7_comment
16     source: pid
17   entity_id: nid
18   entity_type: 'constants/entity_type'
19   comment_type: comment_type
20   field_name: comment_type
21   subject: subject
22   uid: uid
23   name: name
24   mail: mail
25   homepage: homepage
26   hostname: hostname
27   created: created
28   changed: changed
29   status: status
30   thread: thread
31   comment_body: comment_body
32 destination:
33   plugin: entity:comment
34 migration_dependencies:
35   required:
36     - d7_node
37     - d7_comment_type