function fb_app_menu in Drupal for Facebook 5.2
Same name and namespace in other branches
- 6.3 fb_app.module \fb_app_menu()
- 6.2 fb_app.module \fb_app_menu()
- 7.3 fb_app.module \fb_app_menu()
hook_menu
File
- ./
fb_app.module, line 63 - Defines a custom node type that stores a facebook application configuration.
Code
function fb_app_menu($may_cache) {
$items = array();
if ($may_cache) {
// Allow facebook to notify on various events, like adding or removing an app.
$items[] = array(
'path' => FB_APP_PATH_EVENT,
'access' => TRUE,
'callback' => 'fb_app_event_cb',
'type' => MENU_CALLBACK,
);
}
return $items;
}