migrate_plus.migration.d7_node_breve.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. uuid: 7e452f78-a8e4-4c12-ad45-a07390ba1d6b
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: mNckIt8NkX9wGgZbHCl1Rc7bMRxFBND-3C2uWaTYbLM
  7. id: d7_node_breve
  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 Breve'
  17. source:
  18. plugin: d7_node_breve
  19. node_type: breve
  20. process:
  21. type:
  22. plugin: default_value
  23. default_value: breve
  24. title: title
  25. field_migration:
  26. plugin: default_value
  27. default_value: migration_imported
  28. body:
  29. plugin: iterator
  30. source: field_description
  31. process:
  32. value: value
  33. format:
  34. plugin: default_value
  35. default_value: wysiwyg
  36. langcode: language
  37. field_memo: field_memo
  38. field_workflow:
  39. -
  40. plugin: default_value
  41. source: workflow
  42. default_value: 2
  43. -
  44. plugin: static_map
  45. map:
  46. 1: workflow_creation
  47. 2: workflow_hidden
  48. 3: workflow_visible
  49. 4: workflow_imported
  50. 5: workflow_edited
  51. field_thesaurus:
  52. plugin: migration_lookup
  53. migration: d7_taxonomy_term_thesaurus
  54. source: field_onthologie
  55. field_tags:
  56. plugin: migration_lookup
  57. migration: d7_taxonomy_term_tags
  58. source: field_tags_libres
  59. field_video:
  60. plugin: iterator
  61. source: field_video_filter
  62. process:
  63. value: url
  64. field_linked_materials:
  65. -
  66. plugin: skip_on_empty
  67. method: process
  68. source: linked_materials
  69. -
  70. plugin: migration_lookup
  71. migration: d7_node_materiau
  72. no_stub: true
  73. destination:
  74. plugin: 'entity:node'
  75. migration_dependencies:
  76. required:
  77. - d7_taxonomy_term_thesaurus
  78. - d7_taxonomy_term_tags
  79. - d7_taxonomy_term_company
  80. - d7_taxonomy_term_showroom
  81. optional:
  82. - d7_node_materiau