You are here

function hook_commerce_product_type_info_alter in Commerce Core 7

Allows modules to alter the product types defined by other modules.

Parameters

$product_types: The array of product types defined by enabled modules.

See also

hook_commerce_product_type_info()

1 invocation of hook_commerce_product_type_info_alter()
commerce_product_types in modules/product/commerce_product.module
Returns an array of product type arrays keyed by type.

File

modules/product/commerce_product.api.php, line 58
Hooks provided by the Product module.

Code

function hook_commerce_product_type_info_alter(&$product_types) {

  // No example.
}