You are here

function hook_commerce_price_component_type_info_alter in Commerce Core 7

Allows modules to alter the price component types defined by other modules.

Parameters

$component_types: The array of price component types defined by enabled modules.

1 invocation of hook_commerce_price_component_type_info_alter()
commerce_price_component_types in modules/price/commerce_price.module
Returns a list of all available price component types.

File

modules/price/commerce_price.api.php, line 88
Hooks provided by the Price module.

Code

function hook_commerce_price_component_type_info_alter(&$component_types) {

  // No example.
}