You are here

function commerce_tax_ui_tax_type_new in Commerce Core 7

Returns an initialized tax type array.

3 calls to commerce_tax_ui_tax_type_new()
CommerceBaseTestCase::createDummyTaxType in tests/commerce_base.test
* Create a dummy tax type. * *
commerce_tax_ui_install in modules/tax/commerce_tax_ui.install
Implements hook_install().
commerce_tax_ui_menu in modules/tax/commerce_tax_ui.module
Implements hook_menu().

File

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

Code

function commerce_tax_ui_tax_type_new() {
  return array(
    'name' => '',
    'title' => '',
    'display_title' => '',
    'description' => '',
    'display_inclusive' => FALSE,
    'round_mode' => COMMERCE_ROUND_NONE,
    'admin_list' => TRUE,
    'module' => 'commerce_tax_ui',
    'is_new' => TRUE,
  );
}