You are here

commerce_paypal_wps.api.php in Commerce PayPal 7.2

Same filename and directory in other branches
  1. 7 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.
 *
 * @see commerce_paypal_wps_order_form()
 */
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.