public function TaxTypeBase::getWeight in Commerce Core 8.2
Gets the tax type weight.
Used to determine the order in which tax type plugins should run.
Return value
int The tax type weight.
Overrides TaxTypeInterface::getWeight
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxType/ TaxTypeBase.php, line 198
Class
- TaxTypeBase
- Provides the base class for tax types.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxTypeCode
public function getWeight() {
return $this->pluginDefinition['weight'];
}