public function PriceListItem::getWeight in Commerce Pricelist 8
File
- src/
Entity/ PriceListItem.php, line 135
Class
- PriceListItem
- Defines the price list item entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getWeight() {
return $this
->get('weight')->value;
}