public property PaymentMethodBasicController::$payment_method_configuration_form_elements_callback in Payment 7
The function name of the payment method configuration form elements.
Note that this is not a form ID and because the form will not be called using drupal_get_form(), it can only be altered by altering the form payment_form_payment_method(). The validate callback is expected to be a function with the same name, but suffixed with "_validate". If this function exists, it will be called automatically. $form_state['payment_method'] contains the PaymentMethod that is added or edited. All controller-specific information should be added to it in the validate callback. The payment method will be saved automatically using entity_save().
The function accepts its parent form element and &$form_state as parameters. It should return an array of form elements.
Type: string
Overrides PaymentMethodController::$payment_method_configuration_form_elements_callback
See also
paymentmethodbasic_payment_method_configuration_form_elements()
File
- modules/
paymentmethodbasic/ paymentmethodbasic.module, line 96 - Hook implementations and shared functions.
Class
- PaymentMethodBasicController
- A basic payment method controller.
Code
public $payment_method_configuration_form_elements_callback = 'paymentmethodbasic_payment_method_configuration_form_elements';