You are here

protected function EntityTranslationCommerceProductHandler::getStatus in Commerce Core 7

Returns whether the product is active (TRUE) or disabled (FALSE).

Overrides EntityTranslationDefaultHandler::getStatus

File

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

Class

EntityTranslationCommerceProductHandler
Commerce Product translation handler.

Code

protected function getStatus() {
  return (bool) $this->entity->status;
}