function uc_quote_condition_info in Ubercart 5
Implementation of hook_condition_info().
File
- shipping/
uc_quote/ uc_quote.module, line 274 - The controller module for fulfillment modules that process physical goods.
Code
function uc_quote_condition_info() {
return array(
'uc_quote_condition_product_shipping_type' => array(
'#label' => t("Order has a product of a particular shipping type"),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
),
'#module' => t('Order: Product'),
),
'uc_quote_condition_order_shipping_method' => array(
'#label' => t("Order has a shipping quote from a particular method"),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
),
'#module' => t('Order: Shipping Quote'),
),
);
}