You are here

function commerce_tax_ui_tax_rate_title in Commerce Core 7

Title callback: return the title of a tax rate.

1 string reference to 'commerce_tax_ui_tax_rate_title'
commerce_tax_ui_menu in modules/tax/commerce_tax_ui.module
Implements hook_menu().

File

modules/tax/commerce_tax_ui.module, line 175
Provides a UI for creating simple tax types and rates.

Code

function commerce_tax_ui_tax_rate_title($name) {
  $titles = commerce_tax_rate_titles();
  return !empty($titles[$name]) ? $titles[$name] : '';
}