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