You are here

function commerce_invoice_query_commerce_invoice_access_alter in Commerce Invoice 7

Same name and namespace in other branches
  1. 7.2 commerce_invoice.module \commerce_invoice_query_commerce_invoice_access_alter()

Implementation of hook_query_commerce_order_access_alter().

File

./commerce_invoice.module, line 208
Generates the invoice and allows you to display an invoice id in views

Code

function commerce_invoice_query_commerce_invoice_access_alter(QueryAlterableInterface $query) {
  commerce_entity_access_query_alter($query, 'commerce_invoice');
}