You are here

function commerce_flat_rate_permission in Commerce Flat Rate 7

Implements hook_permission().

File

./commerce_flat_rate.module, line 122
Allows you to define any number of flat rate shipping services for customers to choose during checkout.

Code

function commerce_flat_rate_permission() {
  return array(
    'administer flat rate services' => array(
      'title' => t('Administer flat rate shipping services.'),
      'description' => t('Allows users to create, edit and delete flat rate shipping services.'),
      'restrict access' => TRUE,
    ),
  );
}