You are here

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\Entity

Code

public function getWeight() {
  return $this
    ->get('weight')->value;
}