migrate_plus.migration.upgrade_d6_node_translation_page.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. uuid: 7d11b145-2b39-4457-937f-3d3256270da9
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_translation_page
  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 (page)'
  13. source:
  14. plugin: d6_node
  15. translations: true
  16. source_module: translation
  17. node_type: page
  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_visuel:
  46. plugin: d6_field_file
  47. source: field_visuel
  48. destination:
  49. plugin: 'entity:node'
  50. translations: true
  51. destination_module: content_translation
  52. default_bundle: page
  53. migration_dependencies:
  54. required:
  55. - upgrade_d6_user
  56. - upgrade_d6_node_type
  57. - upgrade_d6_node_settings
  58. - upgrade_d6_filter_format
  59. - upgrade_language
  60. - upgrade_d6_node_page
  61. optional:
  62. - upgrade_d6_field_instance_widget_settings
  63. - upgrade_d6_field_formatter_settings
  64. - upgrade_d6_upload_field_instance