function fb_user_app_menu in Drupal for Facebook 6.3
Same name and namespace in other branches
- 7.3 contrib/fb_user_app.module \fb_user_app_menu()
Implementation of hook_menu().
File
- contrib/
fb_user_app.module, line 22 - This module manages relations between local Drupal user accounts and their accounts on facebook.com by application.
Code
function fb_user_app_menu() {
$items = array();
// Admin pages overview.
$items[FB_PATH_ADMIN . "/tracking"] = array(
'title' => 'Tracking',
'description' => 'Settings that track statistics in Drupal for Facebook',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fb_user_app_admin_settings',
),
'access arguments' => array(
FB_PERM_ADMINISTER,
),
'file' => 'fb_user_app.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}