You are here

function pay_method_custom::settings_form in Pay 6

Same name and namespace in other branches
  1. 7 includes/handlers/pay_method_custom.inc \pay_method_custom::settings_form()

Overrides pay_method::settings_form

File

includes/handlers/pay_method_custom.inc, line 8
The base class for manual payment activities.

Class

pay_method_custom
@file The base class for manual payment activities.

Code

function settings_form(&$form, &$form_state) {
  parent::settings_form($form, $form_state);

  // Eliminate the 'authorized' option from the settings.
  $group = $this
    ->handler();
  unset($form[$group]['pay_form_action']['#options']['authorize']);
}