migration materiau & breve i18n ok

This commit is contained in:
2018-12-18 20:09:20 +01:00
parent 7b69f024c1
commit 94ce3f7460
18 changed files with 550 additions and 362 deletions

View File

@@ -0,0 +1,43 @@
id: d7_node_breve_i18n
label: Node Breve i18n
migration_group: d7_materio
audit: true
migration_tags:
- Drupal 7
- Content
- Materio
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node_breve_i18n
node_type: breve
translations: true
destination:
plugin: entity:node
translations: true
process:
nid:
plugin: migration_lookup
source: nid
migration: d7_node_breve
no_stub: true
type:
plugin: default_value
default_value: breve
langcode: language
content_translation_source: source
title: title
body:
plugin: iterator
source: body
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
migration_dependencies:
required:
- d7_node_breve

View File

@@ -6,7 +6,7 @@ migration_tags:
- Drupal 7
- Content
- Materio
deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
# deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
source:
plugin: d7_node_materiau

View File

@@ -0,0 +1,44 @@
id: d7_node_materiau_i18n
label: Node Materiau i18n
migration_group: d7_materio
audit: true
migration_tags:
- Drupal 7
- Content
- Materio
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node_materiau_i18n
node_type: materiau
translations: true
destination:
plugin: entity:node
translations: true
process:
nid:
plugin: migration_lookup
source: nid
migration: d7_node_materiau
no_stub: true
type:
plugin: default_value
default_value: materiau
langcode: language
content_translation_source: source
title: title
field_short_description: field_nature_titre
body:
plugin: iterator
source: field_description
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
migration_dependencies:
required:
- d7_node_materiau