function commerce_discount_permission in Commerce Discount 7
Implements hook_permission().
File
- ./
commerce_discount.module, line 257 - Defines the discount and discount offer entities, bundles and functionality.
Code
function commerce_discount_permission() {
$permissions = array();
$permissions['administer commerce discounts'] = array(
'title' => t('Administer discounts'),
);
return $permissions;
}