function hook_commerce_checkout_pane_info_alter in Commerce Core 7
Allows modules to alter checkout panes defined by other modules.
Parameters
$checkout_panes: The array of checkout pane arrays.
See also
hook_commerce_checkout_pane_info()
1 invocation of hook_commerce_checkout_pane_info_alter()
- commerce_checkout_panes in modules/
checkout/ commerce_checkout.module - Return a filtered array of checkout pane objects.
File
- modules/
checkout/ commerce_checkout.api.php, line 294 - Hooks provided by the Checkout module.
Code
function hook_commerce_checkout_pane_info_alter(&$checkout_panes) {
$checkout_panes['billing']['weight'] = -6;
}