You are here

service commerce_promotion.usage in Commerce Core 8.2

Class

Drupal\commerce_promotion\PromotionUsage

Tags

  • 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.

... See full list

File

modules/promotion/commerce_promotion.services.yml
modules/promotion/commerce_promotion.services.yml

View source
  1. class: Drupal\commerce_promotion\PromotionUsage
  2. arguments:
  3. - '@database'
  4. tags:
  5. - { name: backend_overridable }