function hook_uc_cart_pane_alter in Ubercart 7.3
Alters cart pane definitions.
Parameters
$panes: The array of pane information in the format defined in hook_uc_cart_pane(), passed by reference.
$items: The array of item information.
1 invocation of hook_uc_cart_pane_alter()
- uc_cart_cart_pane_list in uc_cart/
uc_cart.module - Gets all of the enabled, sorted cart panes.
File
- uc_cart/
uc_cart.api.php, line 249 - Hooks provided by the Cart module.
Code
function hook_uc_cart_pane_alter(&$panes, $items) {
$panes['cart_form']['body'] = drupal_get_form('my_custom_pane_form_builder', $items);
}