You are here

function shortcut_per_role_menu in Shortcut per Role 7

Implements hook_menu().

File

./shortcut_per_role.module, line 34
Allows users to manage customizable lists of shortcut links.

Code

function shortcut_per_role_menu() {
  $items['admin/config/user-interface/shortcut-per-role'] = array(
    'title' => 'Shortcuts Per Role',
    'description' => 'Add and modify shortcut sets per role',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'shortcut_per_role_admin_form',
    ),
    'access arguments' => array(
      'administer shortcut per role',
    ),
    'file' => 'shortcut_per_role.admin.inc',
  );
  return $items;
}