migrate_plus.migration.d7_node_article.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. uuid: f8fd027f-4b95-4f96-81dd-0fb6a933f1d8
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: bbML9CDOadmNncab8Nqeqe8ALVFBUdCAiAoLh5GjDqY
  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. process:
  21. type:
  22. plugin: default_value
  23. default_value: article
  24. title: title
  25. created: created
  26. changed: changed
  27. uid:
  28. plugin: migration_lookup
  29. migration: d7_users
  30. source: uid
  31. field_migration:
  32. plugin: default_value
  33. default_value: migration_imported
  34. body:
  35. plugin: iterator
  36. source: body
  37. process:
  38. value: value
  39. format:
  40. plugin: default_value
  41. default_value: wysiwyg
  42. langcode: language
  43. field_memo: field_memo
  44. field_workflow:
  45. -
  46. plugin: default_value
  47. source: workflow
  48. default_value: 2
  49. -
  50. plugin: static_map
  51. default_value: 2
  52. map:
  53. 1: workflow_creation
  54. 2: workflow_hidden
  55. 3: workflow_visible
  56. 4: workflow_imported
  57. 5: workflow_edited
  58. field_thesaurus:
  59. plugin: migration_lookup
  60. migration: d7_taxonomy_term_thesaurus
  61. source: field_onthologie
  62. field_tags:
  63. plugin: migration_lookup
  64. migration: d7_taxonomy_term_tags
  65. source: field_tags_libres
  66. field_video:
  67. plugin: iterator
  68. source: field_video_filter
  69. process:
  70. value: url
  71. field_linked_materials:
  72. -
  73. plugin: skip_on_empty
  74. method: process
  75. source: linked_materials
  76. -
  77. plugin: migration_lookup
  78. migration: d7_node_materiau
  79. no_stub: true
  80. field_visuel:
  81. plugin: iterator
  82. source: field_visuel
  83. process:
  84. target_id:
  85. plugin: migration_lookup
  86. migration: d7_allpublicfiles
  87. source: fid
  88. no_stub: true
  89. alt: alt
  90. title: title
  91. height: height
  92. width: width
  93. field_source:
  94. plugin: iterator
  95. source: field_source
  96. process:
  97. uri: url
  98. title: title
  99. options: attributes
  100. destination:
  101. plugin: 'entity:node'
  102. migration_dependencies:
  103. required:
  104. - d7_allpublicfiles
  105. - d7_users
  106. - d7_taxonomy_term_thesaurus
  107. - d7_taxonomy_term_tags
  108. - d7_taxonomy_term_company
  109. - d7_taxonomy_term_showroom
  110. - d7_node_materiau