function fb_connect_menu in Drupal for Facebook 6.3
Same name and namespace in other branches
- 5.2 fb_connect.module \fb_connect_menu()
- 6.2 fb_connect.module \fb_connect_menu()
- 7.4 fb_connect.module \fb_connect_menu()
- 7.3 fb_connect.module \fb_connect_menu()
Implementation of hook_menu().
File
- ./
fb_connect.module, line 22 - Support for Facebook Connect features
Code
function fb_connect_menu() {
$items = array();
// Admin pages
$items[FB_PATH_ADMIN . '/fb_connect'] = array(
'title' => 'Facebook Connect',
'description' => 'Configure Facebook Connect',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fb_connect_admin_settings',
),
'access arguments' => array(
FB_PERM_ADMINISTER,
),
'file' => 'fb_connect.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}