function fb_invite_menu in Drupal for Facebook 7.3
Same name and namespace in other branches
- 7.4 contrib/fb_invite.module \fb_invite_menu()
Implements hook_menu().
File
- contrib/
fb_invite.module, line 6
Code
function fb_invite_menu() {
// Invite page for the current app.
$items['fb_invite'] = array(
'title' => 'Invite friends',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fb_invite_invite_form',
1,
),
'access callback' => 'fb_invite_access_cb',
'type' => MENU_CALLBACK,
);
return $items;
}