You are here

function commerce_invoice_permission in Commerce Invoice 7

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

Implements hook_permission().

File

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

Code

function commerce_invoice_permission() {
  return commerce_entity_access_permissions('commerce_invoice') + array(
    'configure invoice settings' => array(
      'title' => t('Configure invoice settings'),
      'description' => t('Allows users to configure invoice settings for the store.'),
      'restrict access' => TRUE,
    ),
  );
}