You are here

function paymentmethodbasic_payment_configuration_form_elements in Payment 7

Implements PaymentMethodController::payment_configuration_form_elements_callback.

File

modules/paymentmethodbasic/paymentmethodbasic.module, line 168
Hook implementations and shared functions.

Code

function paymentmethodbasic_payment_configuration_form_elements(array $element, array &$form_state) {
  $payment = $form_state['payment'];
  $elements = array();
  $elements['message'] = array(
    '#type' => 'markup',
    '#markup' => check_markup($payment->method->controller_data['message'], $payment->method->controller_data['text_format']),
  );
  return $elements;
}