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\AdjustmentTypeCode
public function getWeight() {
return $this->pluginDefinition['weight'];
}