You are here

public function AdjustmentType::getWeight in Commerce Core 8.2

Gets the adjustment type weight.

Return value

int The adjustment type weight.

Overrides AdjustmentTypeInterface::getWeight

File

modules/order/src/Plugin/Commerce/AdjustmentType/AdjustmentType.php, line 43

Class

AdjustmentType
Provides the adjustment type class.

Namespace

Drupal\commerce_order\Plugin\Commerce\AdjustmentType

Code

public function getWeight() {
  return $this->pluginDefinition['weight'];
}