d6_taxonomy_term_translation.yml
Same filename in other branches
File
-
core/
modules/ content_translation/ migrations/ d6_taxonomy_term_translation.yml
View source
- id: d6_taxonomy_term_translation
- label: Taxonomy terms
- migration_tags:
- - Drupal 6
- - Content
- - Multilingual
- source:
- plugin: d6_taxonomy_term
- translations: true
- process:
- # If you are using this file to build a custom migration consider removing
- # the tid field to allow incremental migrations.
- tid: tid
- langcode: language
- vid:
- plugin: migration_lookup
- migration: d6_taxonomy_vocabulary
- source: vid
- name: name
- description: description
- weight: weight
- # Only attempt to stub real (non-zero) parents.
- parent_id:
- -
- plugin: skip_on_empty
- method: process
- source: parent
- -
- plugin: migration_lookup
- migration: d6_taxonomy_term
- parent:
- plugin: default_value
- default_value: 0
- source: '@parent_id'
- changed: timestamp
- destination:
- plugin: entity:taxonomy_term
- destination_module: content_translation
- migration_dependencies:
- required:
- - d6_taxonomy_vocabulary
- - d6_taxonomy_term
- - language
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.