public function PriceListInterface::setWeight in Commerce Pricelist 8.2
Sets the weight.
Parameters
int $weight: The weight.
Return value
$this
1 method overrides PriceListInterface::setWeight()
- PriceList::setWeight in src/
Entity/ PriceList.php - Sets the weight.
File
- src/
Entity/ PriceListInterface.php, line 205
Class
- PriceListInterface
- Defines the interface for price lists.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setWeight($weight);