migrate_plus.migration.upgrade_d6_node_revision_event.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. uuid: f6c2d9bc-f977-423e-94a2-59cd24b84c85
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. id: upgrade_d6_node_revision_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 revisions (event)'
  13. source:
  14. plugin: d6_node_revision
  15. node_type: event
  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_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_revision:node'
  50. default_bundle: event
  51. migration_dependencies:
  52. required:
  53. - upgrade_d6_node_event
  54. optional: { }