function pay_form_settings in Pay 7
Same name and namespace in other branches
- 6 includes/pay.admin.inc \pay_form_settings()
API function: implement a settings form that may be used by a pay_form module.
File
- includes/
pay.admin.inc, line 168 - Administration form settings and related functions.
Code
function pay_form_settings($form, &$form_state, $pay_form) {
if (!is_object($pay_form)) {
$pay_form = pay_form_load($pay_form);
}
$pay_form
->settings_form($form, $form_state);
return $form;
}