96ccd8d569d9dd90096bfab0d5213298c46786cd
[yaffs-website] / web / core / modules / content_translation / migrations / d6_taxonomy_term_translation.yml
1 id: d6_taxonomy_term_translation
2 label: Taxonomy terms
3 migration_tags:
4   - Drupal 6
5   - Content
6   - Multilingual
7 source:
8   plugin: d6_taxonomy_term
9   translations: true
10 process:
11   # If you are using this file to build a custom migration consider removing
12   # the tid field to allow incremental migrations.
13   tid: tid
14   langcode: language
15   vid:
16     plugin: migration
17     migration: d6_taxonomy_vocabulary
18     source: vid
19   name: name
20   description: description
21   weight: weight
22   # Only attempt to stub real (non-zero) parents.
23   parent_id:
24     -
25       plugin: skip_on_empty
26       method: process
27       source: parent
28     -
29       plugin: migration
30       migration: d6_taxonomy_term
31   parent:
32     plugin: default_value
33     default_value: 0
34     source: '@parent_id'
35   changed: timestamp
36 destination:
37   plugin: entity:taxonomy_term
38   destination_module: content_translation
39 migration_dependencies:
40   required:
41     - d6_taxonomy_vocabulary
42     - d6_taxonomy_term