function commerce_product_query_commerce_product_access_alter in Commerce Core 7
Implements hook_query_TAG_alter().
File
- modules/
product/ commerce_product.module, line 620 - 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_query_commerce_product_access_alter(QueryAlterableInterface $query) {
return commerce_entity_access_query_alter($query, 'commerce_product');
}