function rename_admin_paths_menu in Rename Admin Paths 7
Same name and namespace in other branches
- 7.2 rename_admin_paths.module \rename_admin_paths_menu()
Implements hook_menu().
File
- ./
rename_admin_paths.module, line 44 - Allows users to rename admin paths
Code
function rename_admin_paths_menu() {
$items['admin/config/user-interface/rename-admin-paths'] = array(
'title' => t('Rename Admin Paths'),
'description' => t('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;
}