commerce_paypal_wps.api.php in Commerce PayPal 7
Same filename and directory in other branches
Hook documentation for the PayPal WPS module.
File
modules/wps/commerce_paypal_wps.api.phpView 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
Name | 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. |