You are here

function commerce_avatax_ui_menu in Drupal Commerce Connector for AvaTax 7.4

Same name and namespace in other branches
  1. 7.3 commerce_avatax_ui.module \commerce_avatax_ui_menu()

Implements hook_menu().

File

./commerce_avatax_ui.module, line 11
Provides a UI for administering Commerce AvaTax.

Code

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