migration materiau: title, short-description, body, workflow, memo, migration; admin content nodes
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
id: d7_node_materiau
|
||||
label: Node Materiau
|
||||
migration_group: d7_materio
|
||||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
- Materio
|
||||
deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
|
||||
|
||||
source:
|
||||
plugin: d7_node_materiau
|
||||
node_type: materiau
|
||||
|
||||
destination:
|
||||
plugin: entity:node
|
||||
|
||||
|
||||
process:
|
||||
# nid: nid
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: materiau
|
||||
title: title
|
||||
field_short_description: field_nature_titre
|
||||
field_migration:
|
||||
plugin: default_value
|
||||
default_value: 'migration_imported'
|
||||
body:
|
||||
plugin: iterator
|
||||
source: field_description
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
plugin: default_value
|
||||
default_value: wysiwyg
|
||||
langcode: language
|
||||
field_memo: field_memo
|
||||
field_workflow:
|
||||
plugin: static_map
|
||||
source: workflow
|
||||
map:
|
||||
1: "workflow_creation"
|
||||
2: "workflow_hidden"
|
||||
3: "workflow_visible"
|
||||
4: "workflow_imported"
|
||||
5: "workflow_edited"
|
||||
|
||||
# field_thesaurus: field_onthologie
|
||||
# field_tags: field_tags_libres
|
||||
# field_materiau_images: field_materiau_image
|
||||
# field_video: field_video_filter
|
||||
# field_manufacturer: field_company_fab
|
||||
# field_distributor: field_company_distrib
|
||||
# field_attachments: field_attachments
|
||||
# field_linked_materials: field_materiau_ref
|
||||
# field_linked_breves: field_breve_ref
|
||||
# field_famille: field_famille
|
||||
# field_index: field_identifiant
|
||||
# field_reference: field_reference_materio
|
||||
# just archives
|
||||
# : field_localisation
|
||||
# TODO: need to find an alternative or rebuild the custom module
|
||||
# : field_location
|
||||
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_taxonomy_term_thesaurus
|
||||
- d7_taxonomy_term_tags
|
||||
- d7_taxonomy_term_company
|
||||
- d7_taxonomy_term_showroom
|
Reference in New Issue
Block a user