function uc_file_rules_event_info in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_file/uc_file.rules.inc \uc_file_rules_event_info()
Implements hook_rules_event_info().
File
- uc_file/
uc_file.rules.inc, line 201 - Rules hooks and functions for uc_file.module.
Code
function uc_file_rules_event_info() {
$events['uc_file_notify_grant'] = array(
'label' => t('E-mail for granted files'),
'group' => t('Notification'),
'variables' => array(
'order' => array(
'type' => 'uc_order',
'label' => t('Order'),
),
'expiration' => array(
'type' => 'uc_file_expiration',
'label' => t('File expiration'),
),
),
);
return $events;
}