function commerce_tax_rate_component_variables in Commerce Core 7
Returns an array of variables for use in tax rate components.
1 call to commerce_tax_rate_component_variables()
- commerce_tax_default_rules_configuration in modules/
tax/ commerce_tax.rules_defaults.inc - Implements hook_default_rules_configuration().
File
- modules/
tax/ commerce_tax.rules_defaults.inc, line 64 - Defines default tax components and rules.
Code
function commerce_tax_rate_component_variables() {
return array(
'commerce_line_item' => array(
'type' => 'commerce_line_item',
'label' => t('Line item'),
),
);
}