You are here

function payment_ubercart_form_configuration in Payment for Ubercart 7.2

Same name and namespace in other branches
  1. 7 payment_ubercart.module \payment_ubercart_form_configuration()

Implements form build callback for the configuration form.

1 string reference to 'payment_ubercart_form_configuration'
payment_ubercart_menu in ./payment_ubercart.module
Implements hook_menu().

File

./payment_ubercart.module, line 282
Hook implementations and shared functions.

Code

function payment_ubercart_form_configuration(array $form, array &$form_state) {
  $form['payment_ubercart_uc_order_delete'] = array(
    '#type' => 'checkbox',
    '#title' => t('When deleting an Ubercart order, delete its payments as well.'),
    '#default_value' => variable_get('payment_ubercart_uc_order_delete', FALSE),
  );
  return system_settings_form($form);
}