function hook_uc_checkout_pane_alter in Ubercart 7.3
Same name and namespace in other branches
- 8.4 uc_cart/uc_cart.api.php \hook_uc_checkout_pane_alter()
Alters checkout pane definitions.
Parameters
$panes: Array with the panes information as defined in hook_uc_checkout_pane(), passed by reference.
1 invocation of hook_uc_checkout_pane_alter()
- _uc_checkout_pane_list in uc_cart/
uc_cart_checkout_pane.inc - Builds a list of checkout panes defined in the enabled modules.
File
- uc_cart/
uc_cart.api.php, line 438 - Hooks provided by the Cart module.
Code
function hook_uc_checkout_pane_alter(&$panes) {
$panes['cart']['callback'] = 'my_custom_module_callback';
}