mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 15:14:35 +00:00
Add upgrade_d7_taxonomy_term content migration
Copied from ref_migrations folder
This commit is contained in:
parent
ffd85d1466
commit
75b47fda52
1 changed files with 78 additions and 0 deletions
|
@ -0,0 +1,78 @@
|
|||
uuid: cae873b1-70c6-4843-901d-9e2f0077e73a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d7_taxonomy_term_session_topics
|
||||
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 (Session topics)'
|
||||
source:
|
||||
plugin: d7_taxonomy_term
|
||||
bundle: session_topics
|
||||
process:
|
||||
tid:
|
||||
-
|
||||
plugin: get
|
||||
source: tid
|
||||
revision_id:
|
||||
-
|
||||
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_session_topics
|
||||
parent:
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed:
|
||||
-
|
||||
plugin: get
|
||||
source: timestamp
|
||||
langcode:
|
||||
-
|
||||
plugin: get
|
||||
source: language
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
default_bundle: session_topics
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d7_taxonomy_vocabulary
|
||||
optional:
|
||||
- upgrade_d7_field_instance
|
||||
- upgrade_d7_taxonomy_vocabulary
|
Loading…
Reference in a new issue