/[drupal]/contributions/modules/project_admin_category/project_admin_category.module
ViewVC logotype

Contents of /contributions/modules/project_admin_category/project_admin_category.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Wed Jul 9 14:57:38 2008 UTC (16 months, 2 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-6--1-1, HEAD
Changes since 1.2: +2 -1 lines
File MIME type: text/x-php
Without access arguments, this is only accessible by user 1. Ouch.
1 <?php
2 // $Id: project_admin_category.module,v 1.2 2008/05/28 11:30:55 jpetso Exp $
3
4 /**
5 * @file
6 * Provides a new "Project administration" category in the admin interface,
7 * for other modules to depend on.
8 */
9
10
11 function project_admin_category_menu() {
12 $items['admin/project'] = array(
13 'title' => 'Project administration',
14 'description' => 'Administrative interface for project management and related modules.',
15 'position' => 'left',
16 'weight' => 3,
17 'page callback' => 'system_admin_menu_block_page',
18 'access arguments' => array('administer site configuration'),
19 'file' => 'system.admin.inc',
20 'file path' => drupal_get_path('module', 'system'),
21 );
22 return $items;
23 }

  ViewVC Help
Powered by ViewVC 1.1.2