You are here

public function PromotionUsageInterface::delete in Commerce Core 8.2

Deletes all usage for the given promotions.

Parameters

\Drupal\commerce_promotion\Entity\PromotionInterface[] $promotions: The promotions.

1 method overrides PromotionUsageInterface::delete()
PromotionUsage::delete in modules/promotion/src/PromotionUsage.php
Deletes all usage for the given promotions.

File

modules/promotion/src/PromotionUsageInterface.php, line 45

Class

PromotionUsageInterface
Tracks promotion usage.

Namespace

Drupal\commerce_promotion

Code

public function delete(array $promotions);