You are here

uc_cart.admin.inc in Ubercart 8.4

Same filename and directory in other branches
  1. 6.2 uc_cart/uc_cart.admin.inc
  2. 7.3 uc_cart/uc_cart.admin.inc

Cart administration menu items.

File

uc_cart/uc_cart.admin.inc
View source
<?php

/**
 * @file
 * Cart administration menu items.
 */

/**
 * Checkout rules configuration.
 */
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;
}

Functions

Namesort descending Description
uc_cart_checkout_rules Checkout rules configuration.