migrate_plus.migration.upgrade_d6_node_translation_event.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. uuid: 4a714a95-551b-44ed-90da-8e137f4c7693
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_translation_event
  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 (event)'
  13. source:
  14. plugin: d6_node
  15. translations: true
  16. source_module: translation
  17. node_type: event
  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_date:
  43. plugin: iterator
  44. source: field_date
  45. process:
  46. value:
  47. plugin: format_date
  48. from_format: 'Y-m-d\TH:i:s'
  49. to_format: 'Y-m-d\TH:i:s'
  50. source: value
  51. destination:
  52. plugin: 'entity:node'
  53. translations: true
  54. destination_module: content_translation
  55. default_bundle: event
  56. migration_dependencies:
  57. required:
  58. - upgrade_d6_user
  59. - upgrade_d6_node_type
  60. - upgrade_d6_node_settings
  61. - upgrade_d6_filter_format
  62. - upgrade_language
  63. - upgrade_d6_node_event
  64. optional:
  65. - upgrade_d6_field_instance_widget_settings
  66. - upgrade_d6_field_formatter_settings
  67. - upgrade_d6_upload_field_instance