You are here

uc_role.rules.events.yml in Ubercart 8.4

uc_role/uc_role.rules.events.yml

File

uc_role/uc_role.rules.events.yml
View source
  1. # function uc_role_rules_event_info() {
  2. # $expiration = array(
  3. # 'type' => 'uc_role_expiration',
  4. # 'label' => t('Role expiration'),
  5. uc_role_notify_grant:
  6. label: 'E-mail for granted roles'
  7. category: 'Notification'
  8. context_definitions:
  9. order:
  10. type: 'entity:uc_order'
  11. label: 'Order'
  12. expiration:
  13. type: 'array'
  14. label: 'Role expiration'
  15. uc_role_notify_revoke:
  16. label: 'E-mail for revoked roles'
  17. category: 'Notification'
  18. context_definitions:
  19. account:
  20. type: 'entity:user'
  21. label: 'User'
  22. expiration:
  23. type: 'array'
  24. label: 'Role expiration'
  25. uc_role_notify_renew:
  26. label: 'E-mail for renewed roles'
  27. category: 'Notification'
  28. context_definitions:
  29. order:
  30. type: 'entity:uc_order'
  31. label: 'Order'
  32. expiration:
  33. type: 'array'
  34. label: 'Role expiration'
  35. uc_role_notify_reminder:
  36. label: 'E-mail for role expiration reminders'
  37. category: 'Notification'
  38. context_definitions:
  39. account:
  40. type: 'entity:user'
  41. label: 'User'
  42. expiration:
  43. type: 'array'
  44. label: 'Role expiration'