You are here

forum_access.yml in Forum Access 8

forum_access_migrate/migration_templates/forum_access.yml

File

forum_access_migrate/migration_templates/forum_access.yml
View source
  1. id: forum_access
  2. label: Forum Access
  3. migration_tags:
  4. - Drupal 5
  5. - Drupal 6
  6. - Drupal 7
  7. source:
  8. plugin: forum_access
  9. process:
  10. tid:
  11. plugin: migration_lookup
  12. migration: d6_taxonomy_term
  13. source: tid
  14. rid:
  15. plugin: migration_lookup
  16. migration: d6_user_role
  17. source: rid
  18. # or use static map
  19. # plugin: static_map
  20. # source: rid
  21. # map:
  22. # 1: anonymous
  23. # 2: authenticated
  24. moderators:
  25. plugin: migration_lookup
  26. migration: d6_user
  27. source: uid
  28. grant_view: grant_view
  29. grant_update: grant_update
  30. grant_delete: grant_delete
  31. grant_create: grant_create
  32. destination:
  33. plugin: forum_access
  34. migration_dependencies:
  35. required:
  36. - d6_taxonomy_term
  37. - d6_user_role