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