function hook_commerce_product_type_insert in Commerce Core 7
Allows modules to react to the creation of a new product type via Product UI.
Parameters
$product_type: The product type info array.
$skip_reset: Boolean indicating whether or not this insert will trigger a cache reset and menu rebuild.
See also
commerce_product_ui_product_type_save()
1 invocation of hook_commerce_product_type_insert()
- commerce_product_ui_product_type_save in modules/
product/ commerce_product_ui.module - Saves a product type.
File
- modules/
product/ commerce_product.api.php, line 73 - Hooks provided by the Product module.
Code
function hook_commerce_product_type_insert($product_type, $skip_reset) {
// No example.
}