12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- 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:
- plugin: migration_lookup
- migration: d7_taxonomy_term_thesaurus
- source: field_onthologie
- field_tags:
- plugin: migration_lookup
- migration: d7_taxonomy_term_tags
- source: field_tags_libres
- field_manufacturer:
- plugin: migration_lookup
- migration: d7_taxonomy_term_company
- source: field_company_fab
- field_distributor:
- plugin: migration_lookup
- migration: d7_taxonomy_term_company
- source: field_company_distrib
- field_video:
- plugin: iterator
- source: field_video_filter
- process:
- value: url
- # field_materiau_images: field_materiau_image
- # 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
|