function uc_payment_event_info in Ubercart 5
File
- payment/
uc_payment/ uc_payment_workflow.inc, line 88 - This file contains the Workflow-ng hooks and functions necessary to make the order related entity, conditions, events, and actions work.
Code
function uc_payment_event_info() {
$events['payment_entered'] = array(
'#label' => t('A payment gets entered for an order'),
'#module' => t('Payment'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
),
);
return $events;
}