function fbconnect_menu in Facebook Connect 7.2
Same name and namespace in other branches
- 8.2 fbconnect.module \fbconnect_menu()
- 5 fbconnect.module \fbconnect_menu()
- 6.2 fbconnect.module \fbconnect_menu()
- 6 fbconnect.module \fbconnect_menu()
Implements hook_menu().
File
- ./
fbconnect.module, line 16 - Facebook Connect API module.
Code
function fbconnect_menu() {
$items['admin/config/people/fbconnect'] = array(
'title' => 'Facebook Connect',
'description' => 'Configure required settings for Facebook integration',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fbconnect_api_keys_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'fbconnect.admin.inc',
);
$items['admin/config/people/fbconnect/api-keys'] = array(
'title' => 'Api Keys',
'type' => MENU_DEFAULT_LOCAL_TASK,
'file' => 'fbconnect.admin.inc',
);
$items['admin/config/people/fbconnect/apperance'] = array(
'title' => 'Appearance',
'type' => MENU_LOCAL_TASK,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fbconnect_appearance_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'fbconnect.admin.inc',
);
$items['admin/config/people/fbconnect/fb-app'] = array(
'title' => 'App Settings',
'type' => MENU_LOCAL_TASK,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fbconnect_fbapp_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'fbconnect.admin.inc',
'weight' => 3,
);
return $items;
}