You are here

d7_simplenews_subscriber.yml in Simplenews 3.x

migrations/d7_simplenews_subscriber.yml

File

migrations/d7_simplenews_subscriber.yml
View source
  1. id: d7_simplenews_subscriber
  2. dependencies:
  3. module:
  4. - simplenews
  5. label: Simplenews subscribers
  6. migration_tags:
  7. - Drupal 7
  8. - Content
  9. source:
  10. plugin: simplenews_subscriber
  11. process:
  12. id: snid
  13. status: activated
  14. mail: mail
  15. uid: uid
  16. langcode: language
  17. changes: changes
  18. created: created
  19. subscriptions:
  20. plugin: sub_process
  21. source: subscriptions
  22. process:
  23. target_id:
  24. plugin: migration_lookup
  25. migration: d7_simplenews_newsletter
  26. source: newsletter_id
  27. status: status
  28. timestamp: timestamp
  29. source: source
  30. destination:
  31. plugin: entity:simplenews_subscriber
  32. destination_module: simplenews
  33. migration_dependencies:
  34. required:
  35. - d7_simplenews_newsletter