You are here

public function PromotionInterface::isEnabled in Commerce Core 8.2

Get whether the promotion is enabled.

Return value

bool TRUE if the promotion is enabled, FALSE otherwise.

1 method overrides PromotionInterface::isEnabled()
Promotion::isEnabled in modules/promotion/src/Entity/Promotion.php
Get whether the promotion is enabled.

File

modules/promotion/src/Entity/PromotionInterface.php, line 359

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function isEnabled();