commerce_product_permission

  1. commerce
    1. 7
Versions
7 commerce_product_permission()

Implements hook_permission().

Code

modules/product/commerce_product.module, line 272

<?php
function commerce_product_permission() {
  $permissions = array(
    'administer product types' => array(
      'title' => t('Administer product types'), 
      'description' => t('Allows users to configure product types and their fields.'), 
      'restrict access' => TRUE,
    ),
  );

  $permissions += commerce_entity_access_permissions('commerce_product');

  return $permissions;
}
?>