You are here

function uc_order_status_options_list in Ubercart 7.3

Returns an option list of order statuses.

1 call to uc_order_status_options_list()
uc_order_action_set_status_form in uc_order/uc_order.module
Action form: selects the order status to be used.
1 string reference to 'uc_order_status_options_list'
uc_order_entity_property_info in uc_order/uc_order.info.inc
Implements hook_entity_property_info().

File

uc_order/uc_order.module, line 2063

Code

function uc_order_status_options_list() {
  $options = array();
  foreach (uc_order_status_list() as $status) {
    $options[$status['id']] = $status['title'];
  }
  return $options;
}