function uc_termsofservice_ca_trigger in Ubercart Terms of Service 6
Same name and namespace in other branches
- 7 uc_termsofservice.rules.inc \uc_termsofservice_ca_trigger()
 
Implements hook_ca_trigger().
File
- ./
uc_termsofservice.ca.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;
}