You are here

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

ProductEventSubscriber constructor.

Parameters

\Drupal\mailchimp_ecommerce\ProductHandler $product_handler: The Product Handler.

File

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

Class

ProductEventSubscriber
Event Subscriber for Commerce Products.

Namespace

Drupal\mailchimp_ecommerce_commerce\EventSubscriber

Code

public function __construct(ProductHandler $product_handler) {
  $this->product_handler = $product_handler;
}