You are here

function module_grants_menu in Module Grants 6.4

Same name and namespace in other branches
  1. 6 module_grants.module \module_grants_menu()
  2. 6.3 module_grants.module \module_grants_menu()
  3. 7 module_grants.module \module_grants_menu()

Implementation of hook_menu().

File

./module_grants.module, line 81
Module to apply access grants to pre-published content just as they are to published content and to make multiple content access modules work together in the expected way.

Code

function module_grants_menu() {
  $items = array();
  $items['admin/settings/module_grants'] = array(
    'title' => 'Module grants',
    'description' => 'Configure how node access modules interact and customise the <em>Accessible-content</em> page.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'module_grants_admin_configure',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'module_grants.admin.inc',
  );
  return $items;
}