migrate_plus.migration.d7_node_materiau.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. uuid: 936116bb-6458-4ef2-9d4b-0d76667d0ae5
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: i5TbqALRlvWgoqxwwZ8XeBUNtgZjummPwZQZM-2NRew
  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_breves:
  97. -
  98. plugin: skip_on_empty
  99. method: process
  100. source: linked_breves
  101. -
  102. plugin: migration_lookup
  103. migration: d7_node_breve
  104. no_stub: true
  105. field_materiau_images:
  106. plugin: iterator
  107. source: field_materiau_image
  108. process:
  109. target_id:
  110. plugin: migration_lookup
  111. migration: d7_allpublicfiles
  112. source: fid
  113. no_stub: true
  114. alt: alt
  115. title: title
  116. height: height
  117. width: width
  118. field_attachments:
  119. plugin: iterator
  120. source: field_attachments
  121. process:
  122. target_id:
  123. plugin: migration_lookup
  124. migration: d7_allpublicfiles
  125. source: fid
  126. no_stub: true
  127. description: description
  128. field_famille: field_famille
  129. field_index: field_identifiant
  130. field_reference: field_reference_materio
  131. field_localisation_old: field_localisation
  132. field_samples:
  133. plugin: iterator
  134. source: field_location
  135. process:
  136. location: location
  137. target_id:
  138. plugin: migration_lookup
  139. migration: d7_taxonomy_term_showroom
  140. source: showroom_tid
  141. no_stub: true
  142. destination:
  143. plugin: 'entity:node'
  144. migration_dependencies:
  145. required:
  146. - d7_allpublicfiles
  147. - d7_users
  148. - d7_taxonomy_term_thesaurus
  149. - d7_taxonomy_term_tags
  150. - d7_taxonomy_term_company
  151. - d7_taxonomy_term_showroom
  152. optional:
  153. - d7_node_breve