You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.8 KiB

uuid: ecc61a66-70d0-4291-9335-6fbc63956c41
langcode: en
status: true
dependencies: { }
id: upgrade_d7_taxonomy_term_subject
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 (Subject)'
source:
plugin: d7_taxonomy_term
bundle: subject
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_tags
- upgrade_d7_taxonomy_term_searchkeywords
- upgrade_d7_taxonomy_term_subject
- upgrade_d7_taxonomy_term_library_units
- upgrade_d7_taxonomy_term_programs
- upgrade_d7_taxonomy_term_departments
- upgrade_d7_taxonomy_term_instructors
- upgrade_d7_taxonomy_term_event_type
- upgrade_d7_taxonomy_term_weekly_hours_location
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
destination:
plugin: 'entity:taxonomy_term'
default_bundle: subject
migration_dependencies:
required:
- upgrade_d7_taxonomy_vocabulary
optional:
- upgrade_d7_field_instance
- upgrade_d7_taxonomy_vocabulary