You are here

public function ProductEventSubscriber::productDelete in Mailchimp E-Commerce 8

Respond to event fired after deleting a product.

File

modules/mailchimp_ecommerce_commerce/src/EventSubscriber/ProductEventSubscriber.php, line 77

Class

ProductEventSubscriber
Event Subscriber for Commerce Products.

Namespace

Drupal\mailchimp_ecommerce_commerce\EventSubscriber

Code

public function productDelete(ProductEvent $event) {

  // TODO: Process deleted product.
}