You are here

function commerce_cart_get_providers in Commerce Core 7

Returns the cart providers.

1 call to commerce_cart_get_providers()
commerce_cart_form_commerce_order_settings_form_alter in modules/cart/commerce_cart.module
Implements hook_form_FORM_ID_alter().

File

modules/cart/commerce_cart.module, line 2981
Implements the shopping cart system and add to cart features.

Code

function commerce_cart_get_providers() {
  ctools_include('plugins');
  $plugins = ctools_get_plugins('commerce_cart', 'cart_provider');
  uasort($plugins, 'ctools_plugin_sort');
  return $plugins;
}