359be81cc429f3e3957e98220c2e538c1b8a695a
[yaffs-website] / web / core / modules / node / migration_templates / d7_node.yml
1 id: d7_node
2 label: Nodes
3 migration_tags:
4   - Drupal 7
5 deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
6 source:
7   plugin: d7_node
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   # In D7, 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\d7\Node::prepareRow().
14   nid: tnid
15   vid: vid
16   langcode:
17     plugin: default_value
18     source: language
19     default_value: "und"
20   title: title
21   uid: node_uid
22   status: status
23   created: created
24   changed: changed
25   promote: promote
26   sticky: sticky
27   revision_uid: revision_uid
28   revision_log: log
29   revision_timestamp: timestamp
30 destination:
31   plugin: entity:node
32 migration_dependencies:
33   required:
34     - d7_user
35     - d7_node_type
36   optional:
37     - d7_field_instance
38     - d7_comment_field_instance