You are here

function fb_form_requestform in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 6.2 fb_form.module \fb_form_requestform()
  2. 7.3 fb_form.module \fb_form_requestform()

Helper function to build fb_form_request_form element.

3 calls to fb_form_requestform()
fb_friend_block in contrib/fb_friend.module
Implementation of hook_block().
fb_friend_invite_page_fbml in contrib/fb_friend.module
fb_friend_request_content in contrib/fb_friend.module
Builds a data structure, similar to Drupal's form API structure, which renders a facebook request-form.

File

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

Code

function fb_form_requestform($attrs = array()) {
  $element = array(
    '#type' => 'fb_form_requestform',
    '#attributes' => $attrs,
  );
  return $element;
}