You are here

function me_menu in me aliases 8

Same name and namespace in other branches
  1. 5 me.module \me_menu()
  2. 6.2 me.module \me_menu()
  3. 6 me.module \me_menu()
  4. 7 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;
}