You are here

function merci_permissions_menu in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6

Same name and namespace in other branches
  1. 8.2 modules/merci_permissions/merci_permissions.module \merci_permissions_menu()
  2. 6.2 modules/merci_permissions/merci_permissions.module \merci_permissions_menu()
  3. 7.2 modules/merci_permissions/merci_permissions.module \merci_permissions_menu()

@file Provides functions for resetting permissions on the permission page.

File

modules/merci_permissions/merci_permissions.module, line 8
Provides functions for resetting permissions on the permission page.

Code

function merci_permissions_menu() {

  // Administration settings.
  $items['admin/settings/merci/permissions'] = array(
    'title' => 'MERCI Permissions',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'merci_permissions_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer MERCI',
    ),
    'description' => t('Configure reservation permissions for MERCI.'),
  );
  return $items;
}