You are here

public function EntityTranslationCommerceProductHandler::__construct in Commerce Core 7

Initializes an instance of the translation handler.

Parameters

$entity_type: The type of the entity being wrapped.

$entity_info: The entity information for the entity being wrapped.

$entity: The entity being wrapped.

Overrides EntityTranslationDefaultHandler::__construct

File

modules/product/includes/commerce_product.translation_handler.inc, line 18
Translation handler for the Commerce Product entity.

Class

EntityTranslationCommerceProductHandler
Commerce Product translation handler.

Code

public function __construct($entity_type, $entity_info, $entity) {
  parent::__construct('commerce_product', $entity_info, $entity);
}