You are here

function commerce_free_shipping_service_component_variables in Commerce Free Shipping 7

Returns an array of variables for use in free shipping service components.

3 calls to commerce_free_shipping_service_component_variables()
CommerceFreeShippingTestProcess::enableFailingFreeShippingRules in tests/commerce_free_shipping.test
Enable free shipping rules and add a default conditions that fail.
CommerceFreeShippingTestProcess::enableValidFreeShippingRules in tests/commerce_free_shipping.test
Enable free shipping rules and add a default conditions that succeed.
commerce_free_shipping_default_rules_configuration in ./commerce_free_shipping.rules_defaults.inc
Implements hook_default_rules_configuration().

File

./commerce_free_shipping.rules_defaults.inc, line 38
Default rules configurations for Shipping.

Code

function commerce_free_shipping_service_component_variables() {
  return array(
    'commerce_order' => array(
      'type' => 'commerce_order',
      'label' => t('Order'),
    ),
  );
}