Security update for Core, with self-updated composer
[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:
20     -
21       plugin: migration_lookup
22       source: node_type
23       migration: d7_comment_type
24     -
25       plugin: skip_on_empty
26       method: row
27   field_name: '@comment_type'
28   subject: subject
29   uid: uid
30   name: name
31   mail: mail
32   homepage: homepage
33   hostname: hostname
34   created: created
35   changed: changed
36   status: status
37   thread: thread
38   comment_body: comment_body
39 destination:
40   plugin: entity:comment
41 migration_dependencies:
42   required:
43     - d7_node
44     - d7_comment_type