You are here

public function Shipping::defaultConfiguration in Commerce Shipping 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides TaxTypeBase::defaultConfiguration

File

src/Plugin/Commerce/TaxType/Shipping.php, line 98

Class

Shipping
Provides the Shipping tax type.

Namespace

Drupal\commerce_shipping\Plugin\Commerce\TaxType

Code

public function defaultConfiguration() {
  return [
    'strategy' => 'default',
    // The store UUIDs.
    'store_filter' => 'none',
    'stores' => [],
  ];
}