You are here

public function EntityTranslationCommerceProductHandler::isRevision in Commerce Core 7

Indicates whether this commerce product is a revision or not.

Overrides EntityTranslationDefaultHandler::isRevision

File

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

Class

EntityTranslationCommerceProductHandler
Commerce Product translation handler.

Code

public function isRevision() {
  return !empty($this->entity->revision);
}