You are here

commerce_paypal_wps.api.php in Commerce PayPal 7

Same filename and directory in other branches
  1. 7.2 modules/wps/commerce_paypal_wps.api.php

Hook documentation for the PayPal WPS module.

File

modules/wps/commerce_paypal_wps.api.php
View source
<?php

/**
 * @file
 * Hook documentation for the PayPal WPS module.
 */

/**
 * Allows modules to alter the data array used to create a PayPal WPS redirect
 * form prior to its form elements being created.
 *
 * @param &$data
 *   The data array used to create redirect form elements.
 * @param $order
 *   The full order object the redirect form is being generated for.
 */
function hook_commerce_paypal_wps_order_form_data_alter(&$data, $order) {

  // No example.
}

Functions

Namesort descending Description
hook_commerce_paypal_wps_order_form_data_alter Allows modules to alter the data array used to create a PayPal WPS redirect form prior to its form elements being created.