public function EntityTranslationCommerceProductHandler::getAccess in Commerce Core 7
Checks whether the current user has access to this product.
Overrides EntityTranslationDefaultHandler::getAccess
File
- modules/
product/ includes/ commerce_product.translation_handler.inc, line 32 - Translation handler for the Commerce Product entity.
Class
- EntityTranslationCommerceProductHandler
- Commerce Product translation handler.
Code
public function getAccess($op) {
return commerce_product_access($op, $this->entity);
}