You are here

function uc_payment_method_options_list in Ubercart 7.3

Returns an option list of payment methods.

1 string reference to 'uc_payment_method_options_list'
uc_payment_entity_property_info_alter in payment/uc_payment/uc_payment.info.inc
Implements hook_entity_property_info_alter().

File

payment/uc_payment/uc_payment.module, line 683

Code

function uc_payment_method_options_list() {
  $options = array();
  foreach (_uc_payment_method_list() as $id => $method) {
    $options[$id] = $method['name'];
  }
  return $options;
}