You are here

public function PriceListInterface::setEnabled in Commerce Pricelist 8.2

Sets whether the price list is enabled.

Parameters

bool $enabled: Whether the price list is enabled.

Return value

$this

1 method overrides PriceListInterface::setEnabled()
PriceList::setEnabled in src/Entity/PriceList.php
Sets whether the price list is enabled.

File

src/Entity/PriceListInterface.php, line 223

Class

PriceListInterface
Defines the interface for price lists.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function setEnabled($enabled);