11dfbb792a1fa243e7d6b259e32de906fcb97e5c
[yaffs-website] / web / core / modules / node / migration_templates / d7_node_translation.yml
1 id: d7_node_translation
2 label: Node translations
3 migration_tags:
4   - Drupal 7
5   - translation
6 deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
7 source:
8   plugin: d7_node
9   translations: true
10 process:
11   # If you are using this file to build a custom migration consider removing
12   # the nid field to allow incremental migrations.
13   nid: tnid
14   type: type
15   langcode:
16     plugin: default_value
17     source: language
18     default_value: "und"
19   title: title
20   uid: node_uid
21   status: status
22   created: created
23   changed: changed
24   promote: promote
25   sticky: sticky
26   revision_uid: revision_uid
27   revision_log: log
28   revision_timestamp: timestamp
29   content_translation_source: source_langcode
30 destination:
31   plugin: entity:node
32   translations: true
33   content_translation_update_definitions:
34     - node
35 migration_dependencies:
36   required:
37     - d7_user
38     - d7_node_type
39     - language
40   optional:
41     - d7_field_instance
42 provider: migrate_drupal