You are here

function fb_invite_invite_form in Drupal for Facebook 7.4

Same name and namespace in other branches
  1. 7.3 contrib/fb_invite.module \fb_invite_invite_form()

This default fb_invite form is simple, because the complexity is in the fb_invite element type.

1 string reference to 'fb_invite_invite_form'
fb_invite_menu in contrib/fb_invite.module
Implements hook_menu().

File

contrib/fb_invite.module, line 238
Adds the ability to invite facebook friends to use the local Facebook Application.

Code

function fb_invite_invite_form($form, &$form_state) {
  $form['fb_invite'] = array(
    '#type' => 'fb_invite',
  );
  return $form;
}