You are here

function commerce_avatax_permission in Drupal Commerce Connector for AvaTax 7.4

Same name and namespace in other branches
  1. 7.5 commerce_avatax.module \commerce_avatax_permission()
  2. 7.3 commerce_avatax.module \commerce_avatax_permission()

Implements hook_permission().

File

./commerce_avatax.module, line 26
Calculate Sales Tax using AvaTax service from Avalara, Inc.

Code

function commerce_avatax_permission() {
  return array(
    'administer avatax' => array(
      'title' => t('Administer Commerce AvaTax'),
      'description' => t('Allows users to configure Commerce AvaTax'),
      'restrict access' => TRUE,
    ),
  );
}