function commerce_tax_ui_commerce_tax_type_info_alter in Commerce Core 7
Implements hook_commerce_tax_type_info_alter().
File
- modules/
tax/ commerce_tax_ui.module, line 241 - Provides a UI for creating simple tax types and rates.
Code
function commerce_tax_ui_commerce_tax_type_info_alter(&$tax_types) {
// Default all commerce_tax_ui defined types to appear in the admin list.
foreach ($tax_types as $name => &$tax_type) {
$tax_type += array(
'admin_list' => $tax_type['module'] == 'commerce_tax_ui',
);
}
}