You are here

public function Custom::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides TaxTypeBase::defaultConfiguration

File

modules/tax/src/Plugin/Commerce/TaxType/Custom.php, line 77

Class

Custom
Provides the Custom tax type.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxType

Code

public function defaultConfiguration() {
  return [
    'display_label' => 'tax',
    'round' => TRUE,
    'rates' => [],
    'territories' => [],
  ] + parent::defaultConfiguration();
}