You are here

function commerce_payment_ui_forms in Commerce Core 7

Implements hook_forms().

File

modules/payment/commerce_payment_ui.module, line 183
Default Payment UI for Drupal Commerce.

Code

function commerce_payment_ui_forms($form_id, $args) {
  $forms = array();

  // Define a wrapper ID for the payment transaction delete confirmation form.
  $forms['commerce_payment_ui_payment_transaction_delete_form'] = array(
    'callback' => 'commerce_payment_payment_transaction_delete_form',
  );
  $forms['commerce_payment_ui_add_payment_rule_form'] = array(
    'callback' => 'rules_admin_add_reaction_rule',
  );
  return $forms;
}