You are here

function uc_quote_type_options in Ubercart 5

Same name and namespace in other branches
  1. 6.2 shipping/uc_quote/uc_quote.module \uc_quote_type_options()

Returns an array of quote types to be selected in a form.

File

shipping/uc_quote/uc_quote.module, line 1524
The controller module for fulfillment modules that process physical goods.

Code

function uc_quote_type_options() {
  $methods = module_invoke_all('shipping_method');
  foreach ($methods as $method) {
    if (isset($method['quote'])) {
      $types[$method['id']] = $method['title'];
    }
  }
  return $types;
}