public function CouponInterface::isEnabled in Commerce Core 8.2
Gets whether the coupon is enabled.
Return value
bool TRUE if the coupon is enabled, FALSE otherwise.
1 method overrides CouponInterface::isEnabled()
- Coupon::isEnabled in modules/
promotion/ src/ Entity/ Coupon.php - Gets whether the coupon is enabled.
File
- modules/
promotion/ src/ Entity/ CouponInterface.php, line 114
Class
- CouponInterface
- Provides an interface for defining coupon entities.
Namespace
Drupal\commerce_promotion\EntityCode
public function isEnabled();