migrate_plus.migration.d7_node_ressource.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. uuid: bb4b4a23-a883-456f-b89f-5c7b598a4247
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: tVxq-4dg-JkKcB01hEZQrxTk3VUApI6tXnH6vEeDdmc
  7. id: d7_node_ressource
  8. class: null
  9. field_plugin_method: null
  10. cck_plugin_method: null
  11. migration_tags:
  12. - 'Drupal 7'
  13. - Content
  14. - Popsu
  15. migration_group: popsu
  16. label: 'Node Ressource'
  17. source:
  18. plugin: d7_node_ressource
  19. batch_size: 500
  20. process:
  21. type:
  22. plugin: default_value
  23. default_value: ressource
  24. created: created
  25. changed: changed
  26. uid:
  27. plugin: default_value
  28. default_value: 34
  29. title: title
  30. field_programme:
  31. plugin: sub_process
  32. source: field_programme
  33. process:
  34. target_id:
  35. plugin: migration_lookup
  36. migration: d7_node_programme
  37. source: nid
  38. no_stub: true
  39. field_theme:
  40. plugin: migration_lookup
  41. migration: d7_node_theme
  42. source: field_theme
  43. no_stub: true
  44. field_projet:
  45. plugin: migration_lookup
  46. migration: d7_node_projet
  47. source: field_projet
  48. no_stub: true
  49. field_poid: field_poids
  50. field_type_de_ressource:
  51. plugin: migration_lookup
  52. migration: d7_taxonomy_term_type_doc
  53. source: field_popsu_doc_type
  54. no_stub: true
  55. field_sous_titre:
  56. plugin: sub_process
  57. source: field_popsu_publication_soustitr
  58. process:
  59. value: value
  60. field_edition:
  61. plugin: sub_process
  62. source: field_popsu_doc_source
  63. process:
  64. value: value
  65. summary: summary
  66. format:
  67. plugin: default_value
  68. default_value: wysiwyg
  69. body:
  70. plugin: sub_process
  71. source: body
  72. process:
  73. value: value
  74. summary: summary
  75. format:
  76. plugin: default_value
  77. default_value: wysiwyg
  78. field_image:
  79. plugin: sub_process
  80. source: field_popsu_publication_cover
  81. process:
  82. target_id:
  83. plugin: migration_lookup
  84. migration: d7_allpublicfiles
  85. source: fid
  86. no_stub: true
  87. alt: alt
  88. title: title
  89. field_fichier:
  90. plugin: sub_process
  91. source: field_popsu_doc_files
  92. process:
  93. target_id:
  94. plugin: migration_lookup
  95. migration: d7_allpublicfiles
  96. source: fid
  97. no_stub: true
  98. display: display
  99. description: description
  100. field_ressources_liees:
  101. plugin: migration_lookup
  102. migration: d7_node_ressource
  103. source: field_ressources_liees
  104. no_stub: true
  105. field_memo: field_memo
  106. destination:
  107. plugin: 'entity:node'
  108. migration_dependencies:
  109. required:
  110. - d7_allpublicfiles
  111. - d7_users
  112. - d7_taxonomy_term_type_doc