You are here

function fb_post_admin_form in Drupal for Facebook 7.4

Post to Facebook settings form.

TODO

1 string reference to 'fb_post_admin_form'
fb_post_menu in ./fb_post.module
Implements hook_menu().

File

./fb_post.admin.inc, line 10

Code

function fb_post_admin_form($form, &$form_state) {
  $form['token'] = array(
    '#type' => 'fieldset',
    '#title' => t('Access Token'),
    '#description' => t('Post to Facebook uses the <a href=!token_url>site-wide default access token</a>.', array(
      '!token_url' => url(FB_PATH_ADMIN_CONFIG . '/settings/token'),
    )),
  );
  $token = fb_get_admin_token();
  $form['token']['info'] = fb_admin_token_info($token);
  $form[] = array(
    '#type' => 'markup',
    '#markup' => t('There are no settings to save here (yet).'),
  );
  return $form;

  // TODO: full fledge system_settings_form here.
}