migrate_plus.migration.d7_flaglists.yml 946 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # user test 55811
  2. # dossier test 4009,5084,6008,6315
  3. # This is the migrations file from Flag Lists D7
  4. id: d7_flaglists
  5. label: 'Materio Flagging Collections D7'
  6. migration_group: d7_materio
  7. audit: true
  8. migration_tags:
  9. - Drupal 7
  10. - Content
  11. - materio
  12. migration_dependencies:
  13. required:
  14. - d7_users
  15. - d7_node_article
  16. - d7_node_materiau
  17. source:
  18. plugin: d7_flaglists_materio
  19. # key: migrate
  20. #
  21. process:
  22. # id: fid
  23. # vid: fid
  24. langcode:
  25. plugin: default_value
  26. default_value: en
  27. # needs migration_lookup
  28. # user_id: uid
  29. user_id:
  30. plugin: migration_lookup
  31. migration: d7_users
  32. source: uid
  33. name: title
  34. # Shall be name from flag
  35. # templateflag: name
  36. # relatedflag: name
  37. templateflag:
  38. plugin: default_value
  39. default_value: dossier
  40. relatedflag:
  41. plugin: default_value
  42. default_value: dossier
  43. #
  44. destination:
  45. plugin: entity:flagging_collection
  46. default_bundle: flagging_collection_type