function fb_form_elements in Drupal for Facebook 7.3
Same name and namespace in other branches
- 5.2 fb_form.module \fb_form_elements()
- 5 fb_form.module \fb_form_elements()
- 6.3 fb_form.module \fb_form_elements()
- 6.2 fb_form.module \fb_form_elements()
File
- ./
fb_form.module, line 182 - This module defines facebook-specific form elements for use with Drupal's form API.
Code
function fb_form_elements() {
$items = array();
$items['fb_form_serverfbml'] = array(
'#input' => FALSE,
);
$items['fb_form_requestform'] = array(
'#input' => FALSE,
);
$items['fb_form_req_choice'] = array(
'#input' => FALSE,
);
$items['fb_form_multi_friend_selector'] = array(
'#input' => FALSE,
);
// Theme('fb_fbml_popup') function defined in fb.module.
$items['fb_fbml_popup'] = array(
'#input' => FALSE,
);
$items['fb_form_request_selector'] = array(
'#input' => TRUE,
'#tree' => TRUE,
/* not sure what this does */
'#process' => array(
'fb_form_process_request_selector' => array(),
),
// The submit callback does not work properly in <fb:request-form>
'#executes_submit_callback' => TRUE,
);
$items['fb_form_friend_selector'] = array(
'#input' => TRUE,
'#tree' => TRUE,
'#process' => array(
'fb_form_friend_selector_process' => array(),
),
);
return $items;
}