You are here

function hook_commerce_tax_rate_info_alter in Commerce Core 7

Allows modules to alter tax rates defined by other modules.

See also

hook_commerce_tax_rate_info()

1 function implements hook_commerce_tax_rate_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

commerce_tax_ui_commerce_tax_rate_info_alter in modules/tax/commerce_tax_ui.module
Implements hook_commerce_tax_rate_info_alter().
1 invocation of hook_commerce_tax_rate_info_alter()
commerce_tax_rates in modules/tax/commerce_tax.module
Returns an array of tax rate objects keyed by name.

File

modules/tax/commerce_tax.api.php, line 162
Documents hooks provided by the Tax module.

Code

function hook_commerce_tax_rate_info_alter(&$tax_rates) {
  $tax_rates['ky_sales_tax']['rate'] = 0.06;
}