You are here

function fb_form_menu in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_form.module \fb_form_menu()
  2. 5 fb_form.module \fb_form_menu()
  3. 6.3 fb_form.module \fb_form_menu()
  4. 7.3 fb_form.module \fb_form_menu()

Implementation of hook_menu().

File

./fb_form.module, line 17
This module defines facebook-specific form elements for use with Drupal's form API.

Code

function fb_form_menu() {
  $items = array();

  // Page allowing a user to invite their friends to add the app.
  $items['fb/invite'] = array(
    'page callback' => 'fb_form_invite_page',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['fb_form_friend_selector_autocomplete'] = array(
    'page callback' => 'fb_form_friend_selector_autocomplete',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}