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