migrate_plus.migration.upgrade_d6_node_translation_son.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. uuid: 630e47a9-7ebc-4a65-9460-faf990ff103a
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_translation_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 translations (son)'
  13. source:
  14. plugin: d6_node
  15. translations: true
  16. source_module: translation
  17. node_type: son
  18. process:
  19. nid: tnid
  20. type: type
  21. langcode:
  22. plugin: default_value
  23. source: language
  24. default_value: und
  25. title: title
  26. uid: node_uid
  27. status: status
  28. created: created
  29. changed: changed
  30. promote: promote
  31. sticky: sticky
  32. body/format:
  33. plugin: migration_lookup
  34. migration: upgrade_d6_filter_format
  35. source: format
  36. body/value: body
  37. body/summary: teaser
  38. revision_uid: revision_uid
  39. revision_log: log
  40. revision_timestamp: timestamp
  41. content_translation_source: source_langcode
  42. field_mp3:
  43. plugin: d6_field_file
  44. source: field_mp3
  45. field_artiste:
  46. plugin: iterator
  47. source: field_artiste
  48. process:
  49. value: value
  50. format:
  51. -
  52. plugin: static_map
  53. bypass: true
  54. source: format
  55. map:
  56. - null
  57. -
  58. plugin: skip_on_empty
  59. method: process
  60. -
  61. plugin: migration
  62. migration:
  63. - upgrade_d6_filter_format
  64. - upgrade_d7_filter_format
  65. source: format
  66. field_compositeur:
  67. plugin: iterator
  68. source: field_compositeur
  69. process:
  70. value: value
  71. format:
  72. -
  73. plugin: static_map
  74. bypass: true
  75. source: format
  76. map:
  77. - null
  78. -
  79. plugin: skip_on_empty
  80. method: process
  81. -
  82. plugin: migration
  83. migration:
  84. - upgrade_d6_filter_format
  85. - upgrade_d7_filter_format
  86. source: format
  87. field_genre: field_genre
  88. destination:
  89. plugin: 'entity:node'
  90. translations: true
  91. destination_module: content_translation
  92. default_bundle: son
  93. migration_dependencies:
  94. required:
  95. - upgrade_d6_user
  96. - upgrade_d6_node_type
  97. - upgrade_d6_node_settings
  98. - upgrade_d6_filter_format
  99. - upgrade_language
  100. - upgrade_d6_node_son
  101. optional:
  102. - upgrade_d6_field_instance_widget_settings
  103. - upgrade_d6_field_formatter_settings
  104. - upgrade_d6_upload_field_instance
  105. - upgrade_d6_filter_format
  106. - upgrade_d7_filter_format