Updated to Drupal 8.5. Core Media not yet in use.
[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 source:
7   plugin: d6_taxonomy_term
8   translations: true
9 process:
10   # If you are using this file to build a custom migration consider removing
11   # the tid field to allow incremental migrations.
12   tid: tid
13   langcode: language
14   vid:
15     plugin: migration
16     migration: d6_taxonomy_vocabulary
17     source: vid
18   name: name
19   description: description
20   weight: weight
21   # Only attempt to stub real (non-zero) parents.
22   parent_id:
23     -
24       plugin: skip_on_empty
25       method: process
26       source: parent
27     -
28       plugin: migration
29       migration: d6_taxonomy_term
30   parent:
31     plugin: default_value
32     default_value: 0
33     source: '@parent_id'
34   changed: timestamp
35 destination:
36   plugin: entity:taxonomy_term
37 migration_dependencies:
38   required:
39     - d6_taxonomy_vocabulary
40     - d6_taxonomy_term