function commerce_stock_menu in Commerce Stock 7
Same name and namespace in other branches
- 7.2 commerce_stock.module \commerce_stock_menu()
Implements hook_menu().
File
- ./
commerce_stock.module, line 16 - Allow commerce products to have stock levels associated with their SKU
Code
function commerce_stock_menu() {
$items = array();
$items['admin/commerce/config/stock'] = array(
'title' => 'Stock management',
'description' => 'Configure stock management.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'commerce_stock_admin_form',
),
'access arguments' => array(
'administer commerce_stock settings',
),
'file' => 'includes/commerce_stock.admin.inc',
);
return $items;
}