migrate_plus.migration.upgrade_d6_node_revision_son.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. uuid: 8949f91e-bc67-49a2-a780-65a187f9fcf5
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_revision_son
  6. class: Drupal\migrate\Plugin\Migration
  7. field_plugin_method: null
  8. cck_plugin_method: null
  9. migration_tags:
  10. - 'Drupal 6'
  11. migration_group: migrate_drupal_6
  12. label: 'Node revisions (son)'
  13. source:
  14. plugin: d6_node_revision
  15. node_type: son
  16. process:
  17. nid: nid
  18. vid: vid
  19. langcode:
  20. plugin: default_value
  21. source: language
  22. default_value: und
  23. title: title
  24. uid: node_uid
  25. status: status
  26. created: created
  27. changed: changed
  28. promote: promote
  29. sticky: sticky
  30. body/format:
  31. plugin: migration_lookup
  32. migration: upgrade_d6_filter_format
  33. source: format
  34. body/value: body
  35. body/summary: teaser
  36. revision_uid: revision_uid
  37. revision_log: log
  38. revision_timestamp: timestamp
  39. field_mp3:
  40. plugin: d6_field_file
  41. source: field_mp3
  42. field_artiste:
  43. plugin: iterator
  44. source: field_artiste
  45. process:
  46. value: value
  47. format:
  48. -
  49. plugin: static_map
  50. bypass: true
  51. source: format
  52. map:
  53. - null
  54. -
  55. plugin: skip_on_empty
  56. method: process
  57. -
  58. plugin: migration
  59. migration:
  60. - upgrade_d6_filter_format
  61. - upgrade_d7_filter_format
  62. source: format
  63. field_compositeur:
  64. plugin: iterator
  65. source: field_compositeur
  66. process:
  67. value: value
  68. format:
  69. -
  70. plugin: static_map
  71. bypass: true
  72. source: format
  73. map:
  74. - null
  75. -
  76. plugin: skip_on_empty
  77. method: process
  78. -
  79. plugin: migration
  80. migration:
  81. - upgrade_d6_filter_format
  82. - upgrade_d7_filter_format
  83. source: format
  84. field_genre: field_genre
  85. destination:
  86. plugin: 'entity_revision:node'
  87. default_bundle: son
  88. migration_dependencies:
  89. required:
  90. - upgrade_d6_node_son
  91. optional:
  92. - upgrade_d6_filter_format
  93. - upgrade_d7_filter_format