function pay_actions_do in Pay 6
Same name and namespace in other branches
- 7 includes/pay.trigger.inc \pay_actions_do()
Helper function to call 'actions_do'
3 calls to pay_actions_do()
- pay_pay_activity_create in includes/
pay.trigger.inc - Implementation of hook_pay_activity_create().
- pay_pay_transaction_complete in includes/
pay.trigger.inc - Implementation of hook_pay_transaction_complete().
- pay_pay_transaction_create in includes/
pay.trigger.inc - Implementation of hook_pay_transaction_create().
File
- includes/
pay.trigger.inc, line 62 - Implements hooks that are pertinent to the trigger module.
Code
function pay_actions_do($hook, &$object) {
if (module_exists('trigger')) {
$context = array();
foreach (_trigger_get_hook_aids('pay', $hook) as $aid => $action_info) {
if ($aid) {
actions_do($aid, $object, $context);
}
}
}
}