You are here

function uc_payment_method_settings_form in Ubercart 7.3

Displays settings for a single payment method.

1 string reference to 'uc_payment_method_settings_form'
uc_payment_menu in payment/uc_payment/uc_payment.module
Implements hook_menu().

File

payment/uc_payment/uc_payment.admin.inc, line 106
Payment administration menu items.

Code

function uc_payment_method_settings_form($form, &$form_state, $method_id) {
  $callback = _uc_payment_method_data($method_id, 'callback');
  $null = NULL;
  if (function_exists($callback)) {
    $form = $callback('settings', $null, array(), $form_state);
  }
  else {
    drupal_not_found();
    drupal_exit();
  }
  return system_settings_form($form);
}