commerce_product_query_commerce_product_access_alter

  1. commerce
    1. 7
Versions
7 commerce_product_query_commerce_product_access_alter(QueryAlterableInterface $query)

Implementation of hook_query_commerce_product_access_alter().

Code

modules/product/commerce_product.module, line 595

<?php
function commerce_product_query_commerce_product_access_alter(QueryAlterableInterface $query) {
  return commerce_entity_access_query_alter($query, 'commerce_product');
}
?>