You are here

function roleassign_menu in RoleAssign 6

Same name and namespace in other branches
  1. 5 roleassign.module \roleassign_menu()
  2. 7.2 roleassign.module \roleassign_menu()
  3. 7 roleassign.module \roleassign_menu()

Implementation of hook_menu().

Adds <code>role assign</code> to <code>administer » user management</code>.

File

./roleassign.module, line 58
Allows site administrators to further delegate the task of managing user's roles.

Code

function roleassign_menu() {
  $items = array();
  $items['admin/user/roleassign'] = array(
    'title' => 'Role assign',
    'description' => "Allows site administrators to further delegate the task of managing user's roles.",
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'roleassign_admin',
    ),
    'access arguments' => array(
      'administer permissions',
    ),
  );
  return $items;
}