You are here

function pay::settings_form in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay.inc \pay::settings_form()
2 calls to pay::settings_form()
pay_form::settings_form in includes/handlers/pay_form.inc
pay_method::settings_form in includes/handlers/pay_method.inc
2 methods override pay::settings_form()
pay_form::settings_form in includes/handlers/pay_form.inc
pay_method::settings_form in includes/handlers/pay_method.inc

File

includes/handlers/pay.inc, line 269
The base class for the Payment API.

Class

pay
@file The base class for the Payment API.

Code

function settings_form(&$form, &$form_state) {
  $this
    ->form_setup($form, $form_state, 'settings_form');
  if (!isset($form['submit']) && !isset($form['buttons'])) {
    $form['submit'] = array(
      '#type' => 'submit',
      '#value' => t('Save form'),
      '#weight' => 100,
    );
  }
}