You are here

public function TaxType::setPluginConfiguration in Commerce Core 8.2

Sets the tax type plugin configuration.

Parameters

array $configuration: The tax type plugin configuration.

Return value

$this

Overrides TaxTypeInterface::setPluginConfiguration

1 call to TaxType::setPluginConfiguration()
TaxType::set in modules/tax/src/Entity/TaxType.php
Sets the value of a property.

File

modules/tax/src/Entity/TaxType.php, line 128

Class

TaxType
Defines the tax type entity class.

Namespace

Drupal\commerce_tax\Entity

Code

public function setPluginConfiguration(array $configuration) {
  $this->configuration = $configuration;
  $this->pluginCollection = NULL;
  return $this;
}