You are here

d7_simplenews_issue.yml in Simplenews 3.x

Same filename and directory in other branches
  1. 8.2 migrations/d7_simplenews_issue.yml
migrations/d7_simplenews_issue.yml

File

migrations/d7_simplenews_issue.yml
View source
  1. id: d7_simplenews_issue
  2. dependencies:
  3. module:
  4. - simplenews
  5. label: Simplenews issues
  6. migration_tags:
  7. - Drupal 7
  8. - Content
  9. source:
  10. plugin: simplenews_issue
  11. process:
  12. nid: nid
  13. simplenews_issue/target_id:
  14. plugin: migration_lookup
  15. migration: d7_simplenews_newsletter
  16. source: tid
  17. simplenews_issue/handler:
  18. plugin: default_value
  19. default_value: 'simplenews_all'
  20. simplenews_issue/handler_settings:
  21. plugin: default_value
  22. default_value: []
  23. simplenews_issue/status: status
  24. simplenews_issue/sent_count: sent_subscriber_count
  25. simplenews_issue/error_count:
  26. plugin: default_value
  27. default_value: 0
  28. simplenews_issue/subscribers: sent_subscriber_count
  29. destination:
  30. plugin: entity:node
  31. destination_module: simplenews
  32. migration_dependencies:
  33. required:
  34. - d7_node
  35. - d7_simplenews_newsletter