You are here

public function TaxType::setPluginId in Commerce Core 8.2

Sets the tax type plugin ID.

Parameters

string $plugin_id: The tax type plugin ID.

Return value

$this

Overrides TaxTypeInterface::setPluginId

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

File

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

Class

TaxType
Defines the tax type entity class.

Namespace

Drupal\commerce_tax\Entity

Code

public function setPluginId($plugin_id) {
  $this->plugin = $plugin_id;
  $this->configuration = [];
  $this->pluginCollection = NULL;
  return $this;
}