You are here

public property MolliePaymentMethodController::$payment_configuration_form_elements_callback in Mollie Payment 7.2

Same name and namespace in other branches
  1. 7 includes/mollie_payment.class.inc \MolliePaymentMethodController::payment_configuration_form_elements_callback

The function name of the payment 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(). 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'] contains the Payment that is added or edited. All method-specific information should be added to it in the validate callback. The payment 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_configuration_form_elements_callback

See also

payment_element_info()

payment_form_method_process()

payment_form_process_method_controller_payment_configuration()

paymentmethodbasic_payment_configuration_form_elements()

File

includes/mollie_payment.class.inc, line 14

Class

MolliePaymentMethodController
Mollie payment method controller.

Code

public $payment_configuration_form_elements_callback = 'mollie_payment_configuration';