You are here

function commerce_avatax_update_8102 in Drupal Commerce Connector for AvaTax 8

Add the "logging" setting.

File

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

Code

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