You are here

function duplicate_role_menu in Duplicate role 6.2

Same name and namespace in other branches
  1. 6 duplicate_role.module \duplicate_role_menu()
  2. 7 duplicate_role.module \duplicate_role_menu()

Implements hook_menu().

File

./duplicate_role.module, line 29

Code

function duplicate_role_menu() {
  $items = array();
  $items['admin/user/duplirole'] = array(
    'title' => t('Duplicate Role'),
    'description' => t('A module that duplicates an existing role and its permissions.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'duplicate_role_form',
    ),
    'access arguments' => array(
      'access duplicate role',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}