migrate_plus.migration.d7_node_materiau.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. uuid: fe4c9750-5837-4072-9c3f-7462e8edd77c
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: UpJLhcKQg-FLL7eI8MUvKVK9_zsXMOmQTCpIEkRcnKY
  7. id: d7_node_materiau
  8. class: null
  9. field_plugin_method: null
  10. cck_plugin_method: null
  11. migration_tags:
  12. - 'Drupal 7'
  13. - Content
  14. - Materio
  15. migration_group: d7_materio
  16. label: 'Node Materiau'
  17. source:
  18. plugin: d7_node_materiau
  19. node_type: materiau
  20. high_water_property:
  21. name: changed
  22. alias: 'n'
  23. process:
  24. type:
  25. plugin: default_value
  26. default_value: materiau
  27. title: title
  28. created: created
  29. changed: changed
  30. uid:
  31. plugin: migration_lookup
  32. migration: d7_users
  33. source: uid
  34. field_short_description: field_nature_titre
  35. field_migration:
  36. plugin: default_value
  37. default_value: migration_imported
  38. body:
  39. plugin: iterator
  40. source: field_description
  41. process:
  42. value: value
  43. format:
  44. plugin: default_value
  45. default_value: wysiwyg
  46. langcode: language
  47. field_memo: field_memo
  48. field_workflow:
  49. -
  50. plugin: default_value
  51. source: workflow
  52. default_value: 2
  53. -
  54. plugin: static_map
  55. default_value: 2
  56. map:
  57. 1: workflow_creation
  58. 2: workflow_hidden
  59. 3: workflow_visible
  60. 4: workflow_imported
  61. 5: workflow_edited
  62. field_thesaurus:
  63. plugin: migration_lookup
  64. migration: d7_taxonomy_term_thesaurus
  65. source: field_onthologie
  66. no_stub: true
  67. field_tags:
  68. plugin: migration_lookup
  69. migration: d7_taxonomy_term_tags
  70. source: field_tags_libres
  71. no_stub: true
  72. field_manufacturer:
  73. plugin: migration_lookup
  74. migration: d7_taxonomy_term_company
  75. source: field_company_fab
  76. no_stub: true
  77. field_distributor:
  78. plugin: migration_lookup
  79. migration: d7_taxonomy_term_company
  80. source: field_company_distrib
  81. no_stub: true
  82. field_video:
  83. plugin: iterator
  84. source: field_video_filter
  85. process:
  86. value: url
  87. field_linked_materials:
  88. -
  89. plugin: skip_on_empty
  90. method: process
  91. source: linked_materials
  92. -
  93. plugin: migration_lookup
  94. migration: d7_node_materiau
  95. no_stub: true
  96. field_linked_articles:
  97. -
  98. plugin: skip_on_empty
  99. method: process
  100. source: linked_articles
  101. -
  102. plugin: migration_lookup
  103. migration: d7_node_article
  104. field_materiau_images:
  105. plugin: iterator
  106. source: field_materiau_image
  107. process:
  108. target_id:
  109. plugin: migration_lookup
  110. migration: d7_allpublicfiles
  111. source: fid
  112. no_stub: true
  113. alt: alt
  114. title: title
  115. height: height
  116. width: width
  117. field_attachments:
  118. plugin: iterator
  119. source: field_attachments
  120. process:
  121. target_id:
  122. plugin: migration_lookup
  123. migration: d7_allpublicfiles
  124. source: fid
  125. no_stub: true
  126. description: description
  127. field_famille: field_famille
  128. field_index: field_identifiant
  129. field_reference: field_reference_materio
  130. field_localisation_old: field_localisation
  131. field_samples:
  132. plugin: iterator
  133. source: field_location
  134. process:
  135. location: location
  136. target_id:
  137. plugin: migration_lookup
  138. migration: d7_taxonomy_term_showroom
  139. source: showroom_tid
  140. no_stub: true
  141. destination:
  142. plugin: 'entity:node'
  143. migration_dependencies:
  144. required:
  145. - d7_allpublicfiles
  146. - d7_users
  147. - d7_taxonomy_term_thesaurus
  148. - d7_taxonomy_term_tags
  149. - d7_taxonomy_term_company
  150. - d7_taxonomy_term_showroom