You are here

function commerce_avatax_libraries_info in Drupal Commerce Connector for AvaTax 7.3

Implements hook_libraries_info().

File

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

Code

function commerce_avatax_libraries_info() {
  $libraries = array();
  $libraries['avalara_avatax'] = array(
    'name' => 'Avalara Avatax',
    'vendor url' => 'http://avalara.com/',
    'download url' => 'http://developer.avalara.com/',
    'version' => array(
      'file' => 'classes/ATConfig.class.php',
      'pattern' => '/@copyright .+ - (\\d+) Avalara, Inc.  All rights reserved.',
    ),
    'files' => array(
      'php' => array(
        'ava_tax.php',
        'credentials.php',
      ),
    ),
  );
  return $libraries;
}