migrate_plus.migration.d7_simplenews_nodes.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. uuid: d2ee3a75-1c75-451b-8ee2-ba45ab6834da
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: V4b8Ctj8B8jqXWdO1pnAIWyZxa_cdp-tjxU-swY0jvE
  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:
  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. destination:
  75. plugin: 'entity:node'
  76. migration_dependencies:
  77. required:
  78. - d7_allpublicfiles
  79. - d7_users