You are here

function commerce_reports_menu in Commerce Reporting 7.2

Same name and namespace in other branches
  1. 7.4 commerce_reports.module \commerce_reports_menu()
  2. 7.3 commerce_reports.module \commerce_reports_menu()

Implements hook_menu().

File

./commerce_reports.module, line 6

Code

function commerce_reports_menu() {
  $items = array();
  $items['admin/commerce/reports'] = array(
    'title' => 'Reports',
    'description' => 'View reports for your store.',
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'access commerce reports',
    ),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 50,
    'file path' => drupal_get_path('module', 'system'),
    'file' => 'system.admin.inc',
  );
  return $items;
}