You are here

function rename_admin_paths_menu in Rename Admin Paths 7.2

Same name and namespace in other branches
  1. 7 rename_admin_paths.module \rename_admin_paths_menu()

Implements hook_menu().

File

./rename_admin_paths.module, line 43
Allows users to rename admin paths

Code

function rename_admin_paths_menu() {
  $items['admin/config/user-interface/rename-admin-paths'] = array(
    'title' => 'Rename Admin Paths',
    'description' => 'Configure how to rename admin paths.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'rename_admin_paths_settings',
    ),
    'access arguments' => array(
      'administer path admin',
    ),
  );
  return $items;
}