Mercurial > hg > isophonics-drupal-site
annotate core/modules/taxonomy/migrations/d7_taxonomy_term.yml @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
rev | line source |
---|---|
Chris@14 | 1 id: d7_taxonomy_term |
Chris@14 | 2 label: Taxonomy terms |
Chris@14 | 3 audit: true |
Chris@14 | 4 migration_tags: |
Chris@14 | 5 - Drupal 7 |
Chris@14 | 6 - Content |
Chris@14 | 7 deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver |
Chris@14 | 8 source: |
Chris@14 | 9 plugin: d7_taxonomy_term |
Chris@14 | 10 process: |
Chris@14 | 11 # If you are using this file to build a custom migration consider removing |
Chris@14 | 12 # the tid field to allow incremental migrations. |
Chris@14 | 13 tid: tid |
Chris@14 | 14 vid: |
Chris@14 | 15 plugin: migration_lookup |
Chris@14 | 16 migration: d7_taxonomy_vocabulary |
Chris@14 | 17 source: vid |
Chris@14 | 18 name: name |
Chris@14 | 19 'description/value': description |
Chris@14 | 20 'description/format': format |
Chris@14 | 21 weight: weight |
Chris@14 | 22 # Only attempt to stub real (non-zero) parents. |
Chris@14 | 23 parent_id: |
Chris@14 | 24 - |
Chris@14 | 25 plugin: skip_on_empty |
Chris@14 | 26 method: process |
Chris@14 | 27 source: parent |
Chris@14 | 28 - |
Chris@14 | 29 plugin: migration_lookup |
Chris@14 | 30 migration: d7_taxonomy_term |
Chris@14 | 31 parent: |
Chris@14 | 32 plugin: default_value |
Chris@14 | 33 default_value: 0 |
Chris@14 | 34 source: '@parent_id' |
Chris@14 | 35 forum_container: is_container |
Chris@14 | 36 changed: timestamp |
Chris@17 | 37 langcode: language |
Chris@14 | 38 destination: |
Chris@14 | 39 plugin: entity:taxonomy_term |
Chris@14 | 40 migration_dependencies: |
Chris@14 | 41 required: |
Chris@14 | 42 - d7_taxonomy_vocabulary |
Chris@14 | 43 optional: |
Chris@14 | 44 - d7_field_instance |