function uc_termsofservice_ca_trigger in Ubercart Terms of Service 7
Same name and namespace in other branches
- 6 uc_termsofservice.ca.inc \uc_termsofservice_ca_trigger()
Implements hook_ca_trigger().
File
- ./
uc_termsofservice.rules.inc, line 43 - Conditional Actions hooks and functions for the terms of service panes.
Code
function uc_termsofservice_ca_trigger() {
$triggers['uc_termsofservice_display_pane'] = array(
'#title' => t('Display checkout or cart panes'),
'#category' => t('Checkout'),
'#arguments' => array(
'cart' => array(
'#entity' => 'cart',
'#title' => t('Cart'),
),
),
);
return $triggers;
}