You are here

function commerce_ss_menu in Commerce Stock 7.2

Implements hook_menu().

File

modules/commerce_ss/commerce_ss.module, line 14
Allow commerce products to have stock levels associated with their SKU.

Code

function commerce_ss_menu() {
  $items = array();
  $items['admin/commerce/config/stock/ss'] = array(
    'title' => 'Simple Stock management',
    'description' => 'Configure Simple stock.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_ss_admin_form',
    ),
    'access arguments' => array(
      'administer commerce_stock settings',
    ),
    'file' => 'includes/commerce_ss.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}