public function PromotionInterface::hasCoupons in Commerce Core 8.2
Gets whether the promotion has coupons.
Return value
bool TRUE if the promotion has coupons, FALSE otherwise.
1 method overrides PromotionInterface::hasCoupons()
- Promotion::hasCoupons in modules/
promotion/ src/ Entity/ Promotion.php - Gets whether the promotion has coupons.
File
- modules/
promotion/ src/ Entity/ PromotionInterface.php, line 202
Class
- PromotionInterface
- Defines the interface for promotions.
Namespace
Drupal\commerce_promotion\EntityCode
public function hasCoupons();