migrate_plus.migration.d7_node_article.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. uuid: 6699fa94-779c-4ec6-80e7-529a15e8a649
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: EMJZXjJ_nG0xuawQaOH-p_ORBAYmBTmygs_QRgD3qJ4
  7. id: d7_node_article
  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 Article'
  17. source:
  18. plugin: d7_node_breve
  19. node_type: breve
  20. high_water_property:
  21. name: changed
  22. alias: 'n'
  23. process:
  24. type:
  25. plugin: default_value
  26. default_value: article
  27. title: title
  28. created: created
  29. changed: changed
  30. uid:
  31. plugin: migration_lookup
  32. migration: d7_users
  33. source: uid
  34. field_migration:
  35. plugin: default_value
  36. default_value: migration_imported
  37. body:
  38. plugin: iterator
  39. source: body
  40. process:
  41. value: value
  42. format:
  43. plugin: default_value
  44. default_value: wysiwyg
  45. langcode: language
  46. field_memo: field_memo
  47. field_workflow:
  48. -
  49. plugin: default_value
  50. source: workflow
  51. default_value: 2
  52. -
  53. plugin: static_map
  54. default_value: 2
  55. map:
  56. 1: workflow_creation
  57. 2: workflow_hidden
  58. 3: workflow_visible
  59. 4: workflow_imported
  60. 5: workflow_edited
  61. field_thesaurus:
  62. plugin: migration_lookup
  63. migration: d7_taxonomy_term_thesaurus
  64. source: field_onthologie
  65. field_tags:
  66. plugin: migration_lookup
  67. migration: d7_taxonomy_term_tags
  68. source: field_tags_libres
  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_visuel:
  84. plugin: iterator
  85. source: field_visuel
  86. process:
  87. target_id:
  88. plugin: migration_lookup
  89. migration: d7_allpublicfiles
  90. source: fid
  91. no_stub: true
  92. alt: alt
  93. title: title
  94. height: height
  95. width: width
  96. field_source:
  97. plugin: iterator
  98. source: field_source
  99. process:
  100. uri: url
  101. title: title
  102. options: attributes
  103. destination:
  104. plugin: 'entity:node'
  105. migration_dependencies:
  106. required:
  107. - d7_allpublicfiles
  108. - d7_users
  109. - d7_taxonomy_term_thesaurus
  110. - d7_taxonomy_term_tags
  111. - d7_taxonomy_term_company
  112. - d7_taxonomy_term_showroom
  113. - d7_node_materiau