function commerce_tax_types_reset in Commerce Core 7
Resets the cached list of tax types.
5 calls to commerce_tax_types_reset()
- CommerceTaxUIAdminTest::testCommerceTaxUICreateTaxType in modules/
tax/ tests/ commerce_tax_ui.test - Test the creation of a tax type.
- CommerceTaxUIAdminTest::testCommerceTaxUIDeleteTaxType in modules/
tax/ tests/ commerce_tax_ui.test - Test deleting a tax type.
- CommerceTaxUIAdminTest::testCommerceTaxUIEditTaxType in modules/
tax/ tests/ commerce_tax_ui.test - Test editing a tax type.
- commerce_tax_ui_tax_type_delete in modules/
tax/ commerce_tax_ui.module - Deletes a tax type.
- commerce_tax_ui_tax_type_save in modules/
tax/ commerce_tax_ui.module - Saves a tax type.
File
- modules/
tax/ commerce_tax.module, line 92 - Defines tax rates and Rules integration for configuring tax rules for applicability and display.
Code
function commerce_tax_types_reset() {
$tax_types =& drupal_static('commerce_tax_types');
$tax_types = NULL;
}