commerce_product_types_reset

  1. commerce
    1. 7
Versions
7 commerce_product_types_reset()

Resets the cached list of product types.

Code

modules/product/commerce_product.module, line 375

<?php
function commerce_product_types_reset() {
  $product_types = &drupal_static('commerce_product_types');
  $product_types = NULL;
}
?>