You are here

d6_role_watchdog.yml in Role Watchdog 8

src/migrations/d6_role_watchdog.yml

File

src/migrations/d6_role_watchdog.yml
View source
  1. id: d6_role_watchdog
  2. label: Role Watchdog
  3. migration_tags:
  4. - Drupal 6
  5. source:
  6. plugin: d6_role_watchdog
  7. destination:
  8. plugin: entity:role_watchdog
  9. process:
  10. name:
  11. plugin: static_map
  12. source: action
  13. bypass: true
  14. map:
  15. 0: 'Role removed'
  16. 1: 'Role added'
  17. langcode:
  18. plugin: default_value
  19. default_value: 'en'
  20. field_user_performed_on:
  21. plugin: migration_lookup
  22. migration: d6_user
  23. no_stub: true
  24. source: aid
  25. field_role_id:
  26. plugin: sub_process
  27. source: rid
  28. process:
  29. target_id:
  30. plugin: migration_lookup
  31. migration: d6_user_role
  32. no_stub: true
  33. source: value
  34. action: action
  35. uid:
  36. plugin: migration_lookup
  37. migration: d6_user
  38. no_stub: true
  39. source: uid
  40. created: stamp
  41. changed: stamp
  42. migration_dependencies:
  43. required:
  44. - d6_user_role
  45. - d6_user