migrate_plus.migration.d7_node_theme.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. id: d7_node_theme
  2. label: Node Theme
  3. migration_group: popsu
  4. audit: true
  5. migration_tags:
  6. - Drupal 7
  7. - Content
  8. - Popsu
  9. source:
  10. plugin: d7_node_theme
  11. # node_type: popsu_special
  12. batch_size: 500
  13. # high_water_property:
  14. # name: changed
  15. # alias: n
  16. destination:
  17. plugin: entity:node
  18. process:
  19. # nid: nid
  20. type:
  21. plugin: default_value
  22. default_value: theme
  23. created: created
  24. changed: changed
  25. uid:
  26. plugin: default_value
  27. default_value: 34
  28. title: title
  29. field_programme:
  30. plugin: migration_lookup
  31. migration: d7_node_programme
  32. source: programme
  33. no_stub: true
  34. field_image:
  35. plugin: sub_process
  36. source: images
  37. process:
  38. target_id:
  39. plugin: migration_lookup
  40. migration: d7_allpublicfiles
  41. source: fid
  42. no_stub: true
  43. alt: alt
  44. title: title
  45. field_type_de_theme:
  46. plugin: migration_lookup
  47. migration: d7_taxonomy_term_type_theme
  48. source: field_popsu_themtrans_type
  49. no_stub: true
  50. field_themes_lies:
  51. plugin: sub_process
  52. source: field_themes_lies
  53. process:
  54. target_id:
  55. plugin: migration_lookup
  56. migration: d7_node_theme
  57. source: nid
  58. field_projets_lies:
  59. plugin: sub_process
  60. source: field_projets_lies
  61. process:
  62. target_id:
  63. plugin: migration_lookup
  64. migration: d7_node_projet
  65. source: nid
  66. field_textes: field_textes
  67. field_equipes: field_equipes
  68. field_partenaires: field_partenaires
  69. field_memo: field_memo
  70. migration_dependencies:
  71. required:
  72. - d7_allpublicfiles
  73. - d7_users
  74. - d7_taxonomy_term_type_theme
  75. # - d7_node_projet