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.
86 lines
1.9 KiB
86 lines
1.9 KiB
2 years ago
|
uuid: c3ff56b4-01f4-4162-b041-261bb2981a7d
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies: { }
|
||
|
id: upgrade_d7_taxonomy_term_departments
|
||
|
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 (Departments, Faculties, Schools)'
|
||
|
source:
|
||
|
plugin: d7_taxonomy_term
|
||
|
bundle: departments
|
||
|
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: departments
|
||
|
migration_dependencies:
|
||
|
required:
|
||
|
- upgrade_d7_taxonomy_vocabulary
|
||
|
optional:
|
||
|
- upgrade_d7_field_instance
|
||
|
- upgrade_d7_taxonomy_vocabulary
|