You are here

function payment_form_global_configuration in Payment 7

Implements form build callback: global configuration form.

1 string reference to 'payment_form_global_configuration'
payment_menu in ./payment.module
Implements hook_menu().

File

./payment.ui.inc, line 1181
The Payment user interface.

Code

function payment_form_global_configuration(array $form, array &$form_state) {
  $form['payment_debug'] = array(
    '#type' => 'checkbox',
    '#title' => t('Log and display every <em>Payment</em> exception (<code>PaymentException</code>).'),
    '#default_value' => variable_get('payment_debug', TRUE),
  );
  return system_settings_form($form);
}