mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-01-12 15:14:35 +00:00
Customize upgrade_d7_taxonomy_term migration
This commit is contained in:
parent
75b47fda52
commit
7d902ba1ef
1 changed files with 15 additions and 20 deletions
|
@ -1,19 +1,17 @@
|
||||||
uuid: cae873b1-70c6-4843-901d-9e2f0077e73a
|
id: upgrade_d7_taxonomy_term
|
||||||
langcode: en
|
|
||||||
status: true
|
|
||||||
dependencies: { }
|
|
||||||
id: upgrade_d7_taxonomy_term_session_topics
|
|
||||||
class: Drupal\migrate\Plugin\Migration
|
class: Drupal\migrate\Plugin\Migration
|
||||||
field_plugin_method: null
|
|
||||||
cck_plugin_method: null
|
|
||||||
migration_tags:
|
migration_tags:
|
||||||
- 'Drupal 7'
|
- 'Drupal 7'
|
||||||
- Content
|
- Content
|
||||||
migration_group: migrate_drupal_7
|
- taxonomy_term
|
||||||
label: 'Taxonomy terms (Session topics)'
|
- tag1_content
|
||||||
|
label: 'Taxonomy terms'
|
||||||
source:
|
source:
|
||||||
|
key: migrate
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: session_topics
|
high_water_property:
|
||||||
|
name: tid
|
||||||
|
alias: td
|
||||||
process:
|
process:
|
||||||
tid:
|
tid:
|
||||||
-
|
-
|
||||||
|
@ -25,9 +23,11 @@ process:
|
||||||
source: tid
|
source: tid
|
||||||
vid:
|
vid:
|
||||||
-
|
-
|
||||||
plugin: migration_lookup
|
plugin: static_map
|
||||||
migration: upgrade_d7_taxonomy_vocabulary
|
|
||||||
source: vid
|
source: vid
|
||||||
|
map:
|
||||||
|
1: tags
|
||||||
|
2: session_topics
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
@ -52,8 +52,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: migration_lookup
|
plugin: migration_lookup
|
||||||
migration:
|
migration:
|
||||||
- upgrade_d7_taxonomy_term_tags
|
- upgrade_d7_taxonomy_term
|
||||||
- upgrade_d7_taxonomy_term_session_topics
|
|
||||||
parent:
|
parent:
|
||||||
-
|
-
|
||||||
plugin: default_value
|
plugin: default_value
|
||||||
|
@ -69,10 +68,6 @@ process:
|
||||||
source: language
|
source: language
|
||||||
destination:
|
destination:
|
||||||
plugin: 'entity:taxonomy_term'
|
plugin: 'entity:taxonomy_term'
|
||||||
default_bundle: session_topics
|
|
||||||
migration_dependencies:
|
migration_dependencies:
|
||||||
required:
|
required: { }
|
||||||
- upgrade_d7_taxonomy_vocabulary
|
optional: { }
|
||||||
optional:
|
|
||||||
- upgrade_d7_field_instance
|
|
||||||
- upgrade_d7_taxonomy_vocabulary
|
|
||||||
|
|
Loading…
Reference in a new issue