function uc_cart_checkout_rules in Ubercart 8.4
Same name and namespace in other branches
- 7.3 uc_cart/uc_cart.admin.inc \uc_cart_checkout_rules()
Checkout rules configuration.
File
- uc_cart/
uc_cart.admin.inc, line 11 - Cart administration menu items.
Code
function uc_cart_checkout_rules() {
$conditions = [
'event' => 'uc_checkout_complete',
'plugin' => 'reaction rule',
];
$options = [
'base path' => 'admin/store/config/checkout/rules',
'show plugin' => FALSE,
];
$content['rules'] = rules_ui()
->overviewTable($conditions, $options);
return $content;
}