uuid: 74066851-f655-4931-8978-d341802dc6be
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_taxonomy_term_userpoints
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: migrate_drupal_7
label: 'Taxonomy terms (Userpoints)'
source:
  plugin: d7_taxonomy_term
  bundle: userpoints
process:
  tid:
    -
      plugin: get
      source: tid
  vid:
    -
      plugin: migration_lookup
      migration: upgrade_d7_taxonomy_vocabulary
      source: vid
  name:
    -
      plugin: get
      source: name
  description/value:
    -
      plugin: get
      source: description
  description/format:
    -
      plugin: get
      source: format
  weight:
    -
      plugin: get
      source: weight
  parent_id:
    -
      plugin: skip_on_empty
      method: process
      source: parent
    -
      plugin: migration_lookup
      migration:
        - upgrade_d7_taxonomy_term_blog_category
        - upgrade_d7_taxonomy_term_tags
        - upgrade_d7_taxonomy_term_tutorial_parts
        - upgrade_d7_taxonomy_term_tutorial_restrictions
        - upgrade_d7_taxonomy_term_tutorial_required_tools
        - upgrade_d7_taxonomy_term_tutorial_budget
        - upgrade_d7_taxonomy_term_tutorial_time
        - upgrade_d7_taxonomy_term_userpoints
        - upgrade_d7_taxonomy_term_faq_categories
        - upgrade_d7_taxonomy_term_newsletter
        - upgrade_d7_taxonomy_term_ad_groups
  parent:
    -
      plugin: default_value
      default_value: 0
      source: '@parent_id'
  forum_container:
    -
      plugin: get
      source: is_container
  changed:
    -
      plugin: get
      source: timestamp
  langcode:
    -
      plugin: get
      source: language
  field_metatag:
    -
      plugin: d7_metatag_entities
      source: pseudo_metatag_entities
destination:
  plugin: 'entity:taxonomy_term'
  default_bundle: userpoints
migration_dependencies:
  required:
    - upgrade_d7_taxonomy_vocabulary
  optional:
    - upgrade_d7_field_instance
    - upgrade_d7_taxonomy_vocabulary
