Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (41 sloc) 1.396 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<?php
// $Id$

/**
* @file
* Defines menu items common to the various Drupal Commerce UI modules.
*/


/**
* Implements hook_menu().
*/
function commerce_ui_menu() {
  $items = array();

  // Top level "Store" container.
  $items['admin/commerce'] = array(
    'title' => 'Store',
    'description' => 'Administer your store.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array('access administration pages'),
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
  );
  $items['admin/commerce/config'] = array(
    'title' => 'Configuration',
    'description' => 'Configure settings and business rules for your store.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array('access administration pages'),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 10,
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
  );
  $items['admin/commerce/config/currency'] = array(
    'title' => 'Currency settings',
    'description' => 'Configure the default currency and display settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('commerce_currency_settings_form'),
    'access arguments' => array('configure store'),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'includes/commerce_ui.admin.inc',
  );

  return $items;
}
Something went wrong with that request. Please try again.