popsu_migrate: D7TaxoTermVille ok, D7NodeProjet links, ville, programme ok, memo

This commit is contained in:
2021-04-19 22:59:33 +02:00
parent 2432b388c1
commit 2d890bae99
19 changed files with 1393 additions and 25 deletions

View File

@@ -10,9 +10,9 @@ migration_tags:
source:
plugin: d7_node_projet
batch_size: 500
high_water_property:
name: changed
alias: n
# high_water_property:
# name: changed
# alias: n
destination:
plugin: entity:node
@@ -31,11 +31,51 @@ process:
title: title
# field_programme:
# plugin: migration_lookup
# migration: d7_node_programme
# source: programme
# no_stub: true
field_ville:
plugin: migration_lookup
migration: d7_taxonomy_term_ville
source: ville
no_stub: true
field_programme:
plugin: sub_process
source: field_programme
process:
target_id:
plugin: migration_lookup
migration: d7_node_programme
source: nid
no_stub: true
field_comparatifs_associes:
plugin: sub_process
source: field_comparatifs_associes
process:
target_id:
plugin: migration_lookup
migration: d7_node_theme
source: nid
field_themes_lies:
plugin: sub_process
source: field_themes_lies
process:
target_id:
plugin: migration_lookup
migration: d7_node_theme
source: nid
field_projets_lies:
plugin: sub_process
source: field_projets_lies
process:
target_id:
plugin: migration_lookup
migration: d7_node_projet
source: nid
field_memo: field_memo
migration_dependencies:

View File

@@ -0,0 +1,29 @@
id: d7_taxonomy_term_ville
label: Taxonomy terms Villes
migration_group: popsu
audit: true
migration_tags:
- Drupal 7
- Content
- Popsu
deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
source:
plugin: d7_taxoterm_ville
bundle: popsu_villes
destination:
plugin: entity:taxonomy_term
process:
# If you are using this file to build a custom migration consider removing
# the tid field to allow incremental migrations.
# tid: tid
vid:
plugin: default_value
default_value: villes
name: name
'description/value': description
'description/format': format
weight: weight
changed: timestamp