migrate_plus.migration.d7_node_article.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. uuid: 9355d3f2-6ba9-4556-b23c-6f16a957a721
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. id: d7_node_article
  6. class: null
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 7'
  11. - Content
  12. - Materio
  13. migration_group: d7_materio
  14. label: 'Node Article'
  15. source:
  16. plugin: d7_node_breve
  17. node_type: breve
  18. high_water_property:
  19. name: changed
  20. alias: 'n'
  21. process:
  22. type:
  23. plugin: default_value
  24. default_value: article
  25. title: title
  26. created: created
  27. changed: changed
  28. uid:
  29. plugin: migration_lookup
  30. migration: d7_users
  31. source: uid
  32. field_migration:
  33. plugin: default_value
  34. default_value: migration_imported
  35. body:
  36. plugin: iterator
  37. source: body
  38. process:
  39. value: value
  40. format:
  41. plugin: default_value
  42. default_value: wysiwyg
  43. langcode: language
  44. field_memo: field_memo
  45. field_workflow:
  46. -
  47. plugin: default_value
  48. source: workflow
  49. default_value: 2
  50. -
  51. plugin: static_map
  52. default_value: 2
  53. map:
  54. 1: workflow_creation
  55. 2: workflow_hidden
  56. 3: workflow_visible
  57. 4: workflow_imported
  58. 5: workflow_edited
  59. field_thesaurus:
  60. plugin: migration_lookup
  61. migration: d7_taxonomy_term_thesaurus
  62. source: field_onthologie
  63. field_tags:
  64. plugin: migration_lookup
  65. migration: d7_taxonomy_term_tags
  66. source: field_tags_libres
  67. field_video:
  68. plugin: iterator
  69. source: field_video_filter
  70. process:
  71. value: url
  72. field_linked_materials:
  73. -
  74. plugin: skip_on_empty
  75. method: process
  76. source: linked_materials
  77. -
  78. plugin: migration_lookup
  79. migration: d7_node_materiau
  80. no_stub: true
  81. field_visuel:
  82. plugin: iterator
  83. source: field_visuel
  84. process:
  85. target_id:
  86. plugin: migration_lookup
  87. migration: d7_allpublicfiles
  88. source: fid
  89. no_stub: true
  90. alt: alt
  91. title: title
  92. height: height
  93. width: width
  94. field_source:
  95. plugin: iterator
  96. source: field_source
  97. process:
  98. uri: url
  99. title: title
  100. options: attributes
  101. destination:
  102. plugin: 'entity:node'
  103. migration_dependencies:
  104. required:
  105. - d7_allpublicfiles
  106. - d7_users
  107. - d7_taxonomy_term_thesaurus
  108. - d7_taxonomy_term_tags
  109. - d7_taxonomy_term_company
  110. - d7_taxonomy_term_showroom
  111. - d7_node_materiau