You are here

function commerce_shipping_method_options_list in Commerce Shipping 7.2

Prepares commerce_shipping_method_get_title().

Wraps commerce_shipping_method_get_title() for the Entity module and Field API.

Return value

array An array of shipping method titles keyed by machine-name for use in options lists and allowed values lists.

1 string reference to 'commerce_shipping_method_options_list'
commerce_shipping_rules_action_info in ./commerce_shipping.rules.inc
Implements hook_rules_action_info().

File

./commerce_shipping.module, line 309
Defines a system for calculating shipping costs associated with an order.

Code

function commerce_shipping_method_options_list() {
  return commerce_shipping_method_get_title();
}