Skip navigation
Help

hook_uc_cart_pane_alter

7 uc_cart.api.php hook_uc_cart_pane_alter(&$panes, $items)

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.

Related topics

1 invocation of hook_uc_cart_pane_alter()

File

ubercart/uc_cart/uc_cart.api.php, line 250
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);
}