migrate_plus.migration.d7_node_actu.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. uuid: 6bffa575-73c1-40dc-8cfc-e925ef8b34f6
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: I6GROOhFniRjxHdI9dtO9yVSViggMTS5H7jUOHZEMIU
  7. id: d7_node_actu
  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 actu'
  17. source:
  18. plugin: d7_node_actu
  19. batch_size: 500
  20. process:
  21. type:
  22. plugin: default_value
  23. default_value: actualite
  24. created: created
  25. changed: changed
  26. uid:
  27. plugin: default_value
  28. default_value: 34
  29. title: title
  30. field_sous_titre: field_popsu_actu_soustitre
  31. promote:
  32. plugin: default_value
  33. default_value: 0
  34. source: field_popsu_actu_enhome
  35. field_dates_actu:
  36. -
  37. plugin: skip_on_empty
  38. method: process
  39. source: field_date
  40. -
  41. plugin: sub_process
  42. process:
  43. value:
  44. plugin: format_date
  45. from_format: 'Y-m-d H:i:s'
  46. to_format: 'Y-m-d\TH:i:s'
  47. source: value
  48. end_value:
  49. plugin: format_date
  50. from_format: 'Y-m-d H:i:s'
  51. to_format: 'Y-m-d\TH:i:s'
  52. source: end
  53. timezone:
  54. plugin: default_value
  55. default_value: ''
  56. body:
  57. plugin: sub_process
  58. source: field_popsu_actu_body
  59. process:
  60. value: value
  61. summary: summary
  62. format:
  63. plugin: default_value
  64. default_value: wysiwyg
  65. field_fichier:
  66. plugin: sub_process
  67. source: field_popsu_actu_attachment
  68. process:
  69. target_id:
  70. plugin: migration_lookup
  71. migration: d7_allpublicfiles
  72. source: fid
  73. no_stub: true
  74. display: display
  75. description: description
  76. field_image:
  77. plugin: sub_process
  78. source: field_popsu_actu_image
  79. process:
  80. target_id:
  81. plugin: migration_lookup
  82. migration: d7_allpublicfiles
  83. source: fid
  84. no_stub: true
  85. alt: alt
  86. title: title
  87. field_memo: field_memo
  88. destination:
  89. plugin: 'entity:node'
  90. migration_dependencies:
  91. required:
  92. - d7_allpublicfiles