public function PriceListItemInterface::setEnabled in Commerce Pricelist 8.2
Sets whether the price list item is enabled.
Parameters
bool $enabled: Whether the price list item is enabled.
Return value
$this
1 method overrides PriceListItemInterface::setEnabled()
- PriceListItem::setEnabled in src/
Entity/ PriceListItem.php - Sets whether the price list item is enabled.
File
- src/
Entity/ PriceListItemInterface.php, line 142
Class
- PriceListItemInterface
- Defines the interface for price list items.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setEnabled($enabled);