Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / node / migrations / d6_node.yml
1 id: d6_node
2 label: Nodes
3 audit: true
4 migration_tags:
5   - Drupal 6
6   - Content
7 deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
8 source:
9   plugin: d6_node
10 process:
11   # In D6, nodes always have a tnid, but it's zero for untranslated nodes.
12   # We normalize it to equal the nid in that case.
13   # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
14   # If you are using this file to build a custom migration consider removing
15   # the nid and vid fields to allow incremental migrations.
16   nid: tnid
17   vid: vid
18   langcode:
19     plugin: default_value
20     source: language
21     default_value: "und"
22   title: title
23   uid: node_uid
24   status: status
25   created: created
26   changed: changed
27   promote: promote
28   sticky: sticky
29   'body/format':
30     plugin: migration_lookup
31     migration: d6_filter_format
32     source: format
33   'body/value': body
34   'body/summary': teaser
35   revision_uid: revision_uid
36   revision_log: log
37   revision_timestamp: timestamp
38
39 #  unmapped d6 fields.
40 #  tnid
41 #  translate
42 #  moderate
43 #  comment
44
45 destination:
46   plugin: entity:node
47 migration_dependencies:
48   required:
49     - d6_user
50     - d6_node_type
51     - d6_node_settings
52     - d6_filter_format
53   optional:
54     - d6_field_instance_widget_settings
55     - d6_field_formatter_settings
56     - d6_upload_field_instance