You are here

commerce_avatax_ui.module in Drupal Commerce Connector for AvaTax 7.3

Same filename and directory in other branches
  1. 7.4 commerce_avatax_ui.module

Provides a UI for creating simple tax types and rates.

File

commerce_avatax_ui.module
View source
<?php

/**
 * @file
 * Provides a UI for creating simple tax types and rates.
 */

/**
 * Implements hook_menu().
 */
function commerce_avatax_ui_menu() {
  $items = array();
  $items['admin/commerce/config/avatax'] = array(
    'access arguments' => array(
      'administer taxes',
    ),
    'title' => 'AvaTax Calc',
    'description' => 'Administer the AvaTax Calc settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_avatax_ui_admin_settings',
    ),
    'file' => 'includes/commerce_avatax_ui.admin.inc',
  );
  return $items;
}

Functions

Namesort descending Description
commerce_avatax_ui_menu Implements hook_menu().