10 string references to commerce_promotion.usage in Commerce Core 8.2
- 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.
- PromotionListBuilder::createInstance in modules/
promotion/ src/ PromotionListBuilder.php - Instantiates a new instance of this entity handler.
- PromotionStorage::createInstance in modules/
promotion/ src/ PromotionStorage.php - Instantiates a new instance of this entity handler.
- UsageLimitFormatter::create in modules/
promotion/ src/ Plugin/ Field/ FieldFormatter/ UsageLimitFormatter.php - Creates an instance of the plugin.
- UsageLimitWidget::create in modules/
promotion/ src/ Plugin/ Field/ FieldWidget/ UsageLimitWidget.php - Creates an instance of the plugin.
- UsageTest::setUp in modules/
promotion/ tests/ src/ Kernel/ UsageTest.php