function commerce_order_types_permission in Commerce Order Types 7
Implements hook_permission().
File
- ./
commerce_order_types.module, line 149 - Provides a UI for creating and managing custom order types.
Code
function commerce_order_types_permission() {
return array(
'administer order types' => array(
'title' => t('Administer order types'),
'description' => t('Create new order types and configure fields for them.'),
'restrict access' => TRUE,
),
);
}