26cb0243bc91c6749a46b17306e9a6a8c7029ccf
[yaffs-website] / web / core / modules / node / migrations / d6_node_translation.yml
1 id: d6_node_translation
2 label: Node translations
3 migration_tags:
4   - Drupal 6
5   - Content
6 deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
7 source:
8   plugin: d6_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   'body/format':
27     plugin: migration_lookup
28     migration: d6_filter_format
29     source: format
30   'body/value': body
31   'body/summary': teaser
32   revision_uid: revision_uid
33   revision_log: log
34   revision_timestamp: timestamp
35   content_translation_source: source_langcode
36
37 #  unmapped d6 fields.
38 #  translate
39 #  moderate
40 #  comment
41
42 destination:
43   plugin: entity:node
44   translations: true
45   destination_module: content_translation
46 migration_dependencies:
47   required:
48     - d6_user
49     - d6_node_type
50     - d6_node_settings
51     - d6_filter_format
52     - language
53   optional:
54     - d6_field_instance_widget_settings
55     - d6_field_formatter_settings
56     - d6_upload_field_instance