You are here

function commerce_avatax_update_8103 in Drupal Commerce Connector for AvaTax 8

Add the "disable_tax_calculation" setting.

File

./commerce_avatax.install, line 34
Provides install and update hooks for Commerce AvaTax.

Code

function commerce_avatax_update_8103() {
  $config = \Drupal::configFactory()
    ->getEditable('commerce_avatax.settings');
  $config
    ->set('disable_tax_calculation', FALSE)
    ->save();
}