function pay_action_info in Pay 6
Same name and namespace in other branches
- 7 includes/pay.action.inc \pay_action_info()
Implements hook_action_info().
File
- includes/
pay.action.inc, line 12 - Functions that support the Drupal actions/triggers system for payment transactions and activities.
Code
function pay_action_info() {
$hooks = array();
if (function_exists('pay_hook_info')) {
$hooks = pay_hook_info();
$hooks = $hooks['pay'];
}
$return = array(
'pay_transaction_complete_action' => array(
'type' => 'pay_transaction',
'description' => t('Complete transaction'),
'configurable' => FALSE,
'hooks' => $hooks,
),
'pay_transaction_cancel_action' => array(
'type' => 'pay_transaction',
'description' => t('Cancel transaction'),
'configurable' => FALSE,
'hooks' => $hooks,
),
'pay_transaction_delete_action' => array(
'type' => 'pay_transaction',
'description' => t('Delete transaction'),
'configurable' => FALSE,
'hooks' => $hooks,
),
);
return $return;
}