function me_menu in me aliases 7
Same name and namespace in other branches
- 8 me.module \me_menu()
- 5 me.module \me_menu()
- 6.2 me.module \me_menu()
- 6 me.module \me_menu()
Implements hook_menu().
File
- ./
me.module, line 514 - Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.
Code
function me_menu() {
$items = array();
$items['admin/config/people/me'] = array(
'title' => "'Me' Aliases",
'description' => "Configure the 'me' aliases, and how they're matched.",
'page callback' => 'drupal_get_form',
'page arguments' => array(
'me_admin_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}