migrate_plus.migration.upgrade_d6_node_event.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. uuid: 2defad48-393a-4262-9869-523fd44315d5
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_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: 'Nodes (event)'
  13. source:
  14. plugin: d6_node
  15. node_type: event
  16. process:
  17. nid: tnid
  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_date:
  40. plugin: iterator
  41. source: field_date
  42. process:
  43. value:
  44. plugin: format_date
  45. from_format: 'Y-m-d\TH:i:s'
  46. to_format: 'Y-m-d\TH:i:s'
  47. source: value
  48. destination:
  49. plugin: 'entity:node'
  50. default_bundle: event
  51. migration_dependencies:
  52. required:
  53. - upgrade_d6_user
  54. - upgrade_d6_node_type
  55. - upgrade_d6_node_settings
  56. - upgrade_d6_filter_format
  57. optional:
  58. - upgrade_d6_field_instance_widget_settings
  59. - upgrade_d6_field_formatter_settings
  60. - upgrade_d6_upload_field_instance