public function TaxTypeBase::defaultConfiguration in Commerce Core 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
2 calls to TaxTypeBase::defaultConfiguration()
- Custom::defaultConfiguration in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ Custom.php - Gets default configuration for this plugin.
- TaxTypeBase::setConfiguration in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ TaxTypeBase.php - Sets the configuration for this plugin instance.
1 method overrides TaxTypeBase::defaultConfiguration()
- Custom::defaultConfiguration in modules/
tax/ src/ Plugin/ Commerce/ TaxType/ Custom.php - Gets default configuration for this plugin.
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxType/ TaxTypeBase.php, line 139
Class
- TaxTypeBase
- Provides the base class for tax types.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxTypeCode
public function defaultConfiguration() {
return [
'display_inclusive' => TRUE,
];
}