migrate_plus.migration.d7_node_materiau.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. uuid: 9df6ad17-bffc-42bc-988f-78f464b529d4
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: t6tESeD5gSyUOUHmIcKqhmhWjysEil-5oeNeK1cFuSU
  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. process:
  21. type:
  22. plugin: default_value
  23. default_value: materiau
  24. title: title
  25. field_short_description: field_nature_titre
  26. field_migration:
  27. plugin: default_value
  28. default_value: migration_imported
  29. body:
  30. plugin: iterator
  31. source: field_description
  32. process:
  33. value: value
  34. format:
  35. plugin: default_value
  36. default_value: wysiwyg
  37. langcode: language
  38. field_memo: field_memo
  39. field_workflow:
  40. -
  41. plugin: default_value
  42. source: workflow
  43. default_value: 2
  44. -
  45. plugin: static_map
  46. default_value: 2
  47. map:
  48. 1: workflow_creation
  49. 2: workflow_hidden
  50. 3: workflow_visible
  51. 4: workflow_imported
  52. 5: workflow_edited
  53. field_thesaurus:
  54. plugin: migration_lookup
  55. migration: d7_taxonomy_term_thesaurus
  56. source: field_onthologie
  57. field_tags:
  58. plugin: migration_lookup
  59. migration: d7_taxonomy_term_tags
  60. source: field_tags_libres
  61. field_manufacturer:
  62. plugin: migration_lookup
  63. migration: d7_taxonomy_term_company
  64. source: field_company_fab
  65. field_distributor:
  66. plugin: migration_lookup
  67. migration: d7_taxonomy_term_company
  68. source: field_company_distrib
  69. field_video:
  70. plugin: iterator
  71. source: field_video_filter
  72. process:
  73. value: url
  74. field_linked_materials:
  75. -
  76. plugin: skip_on_empty
  77. method: process
  78. source: linked_materials
  79. -
  80. plugin: migration_lookup
  81. migration: d7_node_materiau
  82. no_stub: true
  83. field_linked_breves:
  84. -
  85. plugin: skip_on_empty
  86. method: process
  87. source: linked_breves
  88. -
  89. plugin: migration_lookup
  90. migration: d7_node_breve
  91. no_stub: true
  92. destination:
  93. plugin: 'entity:node'
  94. migration_dependencies:
  95. required:
  96. - d7_taxonomy_term_thesaurus
  97. - d7_taxonomy_term_tags
  98. - d7_taxonomy_term_company
  99. - d7_taxonomy_term_showroom
  100. optional:
  101. - d7_node_breve