migrate_plus.migration.d7_simplenews_nodes.yml 1.9 KB

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