function hook_commerce_tax_type_info_alter in Commerce Core 7
Allows modules to alter tax types defined by other modules.
See also
1 function implements hook_commerce_tax_type_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_type_info_alter in modules/
tax/ commerce_tax_ui.module - Implements hook_commerce_tax_type_info_alter().
1 invocation of hook_commerce_tax_type_info_alter()
- commerce_tax_types in modules/
tax/ commerce_tax.module - Returns an array of tax type objects keyed by name.
File
- modules/
tax/ commerce_tax.api.php, line 52 - Documents hooks provided by the Tax module.
Code
function hook_commerce_tax_type_info_alter(&$tax_types) {
$tax_types['sales_tax']['display_inclusive'] = TRUE;
}