function commerce_license_rules_event_info in Commerce License 7
Implements hook_rules_event_info().
File
- ./
commerce_license.rules.inc, line 11 - Commerce License rules integration.
Code
function commerce_license_rules_event_info() {
$events = array();
$events['commerce_license_synchronize'] = array(
'label' => t('After successfuly synchronizing a license'),
'group' => t('Commerce License'),
'variables' => array(
'commerce_license' => array(
'type' => 'commerce_license',
'label' => t('The license'),
),
),
);
$events['commerce_license_synchronize_failed'] = array(
'label' => t('After failing to synchronize a license'),
'group' => t('Commerce License'),
'variables' => array(
'commerce_license' => array(
'type' => 'commerce_license',
'label' => t('The license'),
),
),
);
return $events;
}