uc_role.rules.events.yml in Ubercart 8.4
uc_role/uc_role.rules.events.yml
File
uc_role/uc_role.rules.events.ymlView source
- # function uc_role_rules_event_info() {
- # $expiration = array(
- # 'type' => 'uc_role_expiration',
- # 'label' => t('Role expiration'),
-
- uc_role_notify_grant:
- label: 'E-mail for granted roles'
- category: 'Notification'
- context_definitions:
- order:
- type: 'entity:uc_order'
- label: 'Order'
- expiration:
- type: 'array'
- label: 'Role expiration'
-
- uc_role_notify_revoke:
- label: 'E-mail for revoked roles'
- category: 'Notification'
- context_definitions:
- account:
- type: 'entity:user'
- label: 'User'
- expiration:
- type: 'array'
- label: 'Role expiration'
-
- uc_role_notify_renew:
- label: 'E-mail for renewed roles'
- category: 'Notification'
- context_definitions:
- order:
- type: 'entity:uc_order'
- label: 'Order'
- expiration:
- type: 'array'
- label: 'Role expiration'
-
- uc_role_notify_reminder:
- label: 'E-mail for role expiration reminders'
- category: 'Notification'
- context_definitions:
- account:
- type: 'entity:user'
- label: 'User'
- expiration:
- type: 'array'
- label: 'Role expiration'