You are here

function commerce_product_entity_translation_tab_access in Commerce Core 7

Access callback: determines access to a product's translation tab.

File

modules/product/commerce_product.module, line 1075
Defines the core Commerce product entity, including the entity itself, the bundle definitions (product types), and various API functions to manage products and interact with them through forms and autocompletes.

Code

function commerce_product_entity_translation_tab_access($product) {
  return entity_translation_tab_access('commerce_product', $product);
}