migrate_plus.migration.d7_node_materiau.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. uuid: 15912690-6202-41a4-85a6-e3a7b3e1f5ba
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: uwyhSm_19FNjM2NOe9SSaUDkPGfzbr8tqTf0dd5v10c
  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_articles:
  88. -
  89. plugin: skip_on_empty
  90. method: process
  91. source: linked_breves
  92. -
  93. plugin: migration_lookup
  94. migration: d7_node_article
  95. no_stub: true
  96. field_materiau_images:
  97. plugin: iterator
  98. source: field_materiau_image
  99. process:
  100. target_id:
  101. plugin: migration_lookup
  102. migration: d7_allpublicfiles
  103. source: fid
  104. no_stub: true
  105. alt: alt
  106. title: title
  107. height: height
  108. width: width
  109. field_attachments:
  110. plugin: iterator
  111. source: field_attachments
  112. process:
  113. target_id:
  114. plugin: migration_lookup
  115. migration: d7_allpublicfiles
  116. source: fid
  117. no_stub: true
  118. description: description
  119. field_famille: field_famille
  120. field_index: field_identifiant
  121. field_reference: field_reference_materio
  122. field_localisation_old: field_localisation
  123. field_samples:
  124. plugin: iterator
  125. source: field_location
  126. process:
  127. location: location
  128. target_id:
  129. plugin: migration_lookup
  130. migration: d7_taxonomy_term_showroom
  131. source: showroom_tid
  132. no_stub: true
  133. destination:
  134. plugin: 'entity:node'
  135. migration_dependencies:
  136. required:
  137. - d7_allpublicfiles
  138. - d7_users
  139. - d7_taxonomy_term_thesaurus
  140. - d7_taxonomy_term_tags
  141. - d7_taxonomy_term_company
  142. - d7_taxonomy_term_showroom
  143. optional:
  144. - d7_node_article