service commerce_promotion.usage in Commerce Core 8.2
Class
Drupal\commerce_promotion\PromotionUsageTags
- backend_overridable
10 string references to commerce_promotion.usage
- Coupon::available in modules/
promotion/ src/ Entity/ Coupon.php - Checks whether the coupon is available for the given order.
- Coupon::postDelete in modules/
promotion/ src/ Entity/ Coupon.php - Acts on deleted entities before the delete hook is invoked.
- CouponListBuilder::createInstance in modules/
promotion/ src/ CouponListBuilder.php - Instantiates a new instance of this entity handler.
- Promotion::available in modules/
promotion/ src/ Entity/ Promotion.php - Checks whether the promotion is available for the given order.
- Promotion::postDelete in modules/
promotion/ src/ Entity/ Promotion.php - Acts on deleted entities before the delete hook is invoked.
File
- modules/
promotion/ commerce_promotion.services.yml - modules/promotion/commerce_promotion.services.yml
View source
- class: Drupal\commerce_promotion\PromotionUsage
- arguments:
- - '@database'
- tags:
- - { name: backend_overridable }