You are here

function commerce_shipping_service_options_list in Commerce Shipping 7.2

Wraps commerce_shipping_service_get_title() for the Entity module.

Return value

array An array of shipping service titles keyed by machine-name as needed for options lists.

2 calls to commerce_shipping_service_options_list()
commerce_shipping_line_item_add_form in ./commerce_shipping.module
Helper function.
commerce_shipping_service_rules_options_list in ./commerce_shipping.rules.inc
Returns a list of shipping services available for existence conditions.
2 string references to 'commerce_shipping_service_options_list'
commerce_shipping_line_item_configuration in ./commerce_shipping.module
Line item callback: configures the shipping line item type on module enable.
commerce_shipping_rules_action_info in ./commerce_shipping.rules.inc
Implements hook_rules_action_info().

File

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

Code

function commerce_shipping_service_options_list() {
  return commerce_shipping_service_get_title();
}