You are here

public function TaxTypeInterface::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.

1 method overrides TaxTypeInterface::getWeight()
TaxTypeBase::getWeight in modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php
Gets the tax type weight.

File

modules/tax/src/Plugin/Commerce/TaxType/TaxTypeInterface.php, line 39

Class

TaxTypeInterface
Defines the base interface for tax types.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxType

Code

public function getWeight();