Version 1
[yaffs-website] / web / core / modules / node / migration_templates / d6_node_revision.yml
1 id: d6_node_revision
2 label: Node revisions
3 migration_tags:
4   - Drupal 6
5 deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
6 source:
7   plugin: d6_node_revision
8 process:
9   # If you are using this file to build a custom migration consider removing
10   # the nid and vid fields to allow incremental migrations.
11   nid: nid
12   vid: vid
13   langcode:
14     plugin: default_value
15     source: language
16     default_value: "und"
17   title: title
18   uid: node_uid
19   status: status
20   created: created
21   changed: changed
22   promote: promote
23   sticky: sticky
24   'body/format':
25     plugin: migration_lookup
26     migration: d6_filter_format
27     source: format
28   'body/value': body
29   'body/summary': teaser
30   revision_uid: revision_uid
31   revision_log: log
32   revision_timestamp: timestamp
33
34 #  unmapped d6 fields.
35 #  tnid
36 #  translate
37 #  moderate
38 #  comment
39
40 destination:
41   plugin: entity_revision:node