migrate_plus.migration.d7_node_breve.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. uuid: c777e844-a495-40da-8402-036f21e452e7
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: gPxxnSd49zf1QfNvGH3ViddhP7nm_RL6VAjAbHTcPs8
  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. default_value: 2
  46. map:
  47. 1: workflow_creation
  48. 2: workflow_hidden
  49. 3: workflow_visible
  50. 4: workflow_imported
  51. 5: workflow_edited
  52. field_thesaurus:
  53. plugin: migration_lookup
  54. migration: d7_taxonomy_term_thesaurus
  55. source: field_onthologie
  56. field_tags:
  57. plugin: migration_lookup
  58. migration: d7_taxonomy_term_tags
  59. source: field_tags_libres
  60. field_video:
  61. plugin: iterator
  62. source: field_video_filter
  63. process:
  64. value: url
  65. field_linked_materials:
  66. -
  67. plugin: skip_on_empty
  68. method: process
  69. source: linked_materials
  70. -
  71. plugin: migration_lookup
  72. migration: d7_node_materiau
  73. no_stub: true
  74. destination:
  75. plugin: 'entity:node'
  76. migration_dependencies:
  77. required:
  78. - d7_allpublicfiles
  79. - d7_taxonomy_term_thesaurus
  80. - d7_taxonomy_term_tags
  81. - d7_taxonomy_term_company
  82. - d7_taxonomy_term_showroom
  83. optional:
  84. - d7_node_materiau