migrate_plus.migration.d7_simplenews_nodes.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. uuid: 5040a067-947f-4c18-8ee0-64e3f2737167
  2. langcode: en
  3. status: true
  4. dependencies:
  5. module:
  6. - migrate_drupal
  7. - simplenews
  8. id: d7_simplenews_nodes
  9. class: null
  10. field_plugin_method: null
  11. cck_plugin_method: null
  12. migration_tags:
  13. - 'Drupal 7'
  14. - Content
  15. - Materio
  16. migration_group: d7_materio
  17. label: 'Simplenews newsletters nodes'
  18. source:
  19. plugin: d7_simplenews_nodes
  20. node_type: simplenews
  21. high_water_property:
  22. name: changed
  23. alias: 'n'
  24. process:
  25. type:
  26. plugin: default_value
  27. default_value: simplenews_issue
  28. title: title
  29. created: created
  30. changed: changed
  31. uid:
  32. plugin: migration_lookup
  33. migration: d7_users
  34. source: uid
  35. field_migration:
  36. plugin: default_value
  37. default_value: migration_imported
  38. body:
  39. plugin: iterator
  40. source: body
  41. process:
  42. value: value
  43. format:
  44. plugin: default_value
  45. default_value: wysiwyg
  46. langcode: language
  47. field_workflow:
  48. -
  49. plugin: default_value
  50. source: workflow
  51. default_value: 2
  52. -
  53. plugin: static_map
  54. default_value: 2
  55. map:
  56. 1: workflow_creation
  57. 2: workflow_hidden
  58. 3: workflow_visible
  59. 4: workflow_imported
  60. 5: workflow_edited
  61. simplenews_issue/target_id:
  62. -
  63. plugin: extract
  64. source: field_simplenews_term
  65. index:
  66. - 0
  67. - tid
  68. -
  69. plugin: static_map
  70. map:
  71. 6585: test
  72. 6374: ze_daily_materio_
  73. 6274: materio_newsletter
  74. 7881: companies
  75. simplenews_issue/sent_count: snn_sent_subscriber_count
  76. simplenews_issue/status: snn_status
  77. simplenews_issue/error_count:
  78. plugin: default_value
  79. default_value: 0
  80. simplenews_issue/subscribers: snn_sent_subscriber_count
  81. simplenews_issue/handler:
  82. plugin: default_value
  83. default_value: simplenews_all
  84. destination:
  85. plugin: 'entity:node'
  86. migration_dependencies:
  87. required:
  88. - d7_allpublicfiles
  89. - d7_users