You are here

function fb_user_menu in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 5 fb_user.module \fb_user_menu()
  2. 6.2 fb_user.module \fb_user_menu()
  3. 7.4 fb_user.module \fb_user_menu()
  4. 7.3 fb_user.module \fb_user_menu()

Implements of hook_menu().

File

./fb_user.module, line 64
This module manages relations between local Drupal user accounts and their accounts on facebook.com.

Code

function fb_user_menu() {
  $items = array();

  // Admin pages
  $items[FB_PATH_ADMIN . '/fb_user'] = array(
    'title' => 'User Settings',
    'description' => 'Local account to facebook account mapping',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fb_user_admin_settings',
    ),
    'access arguments' => array(
      FB_PERM_ADMINISTER,
    ),
    'file' => 'fb_user.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}