You are here

function fb_admin_default_app_form in Drupal for Facebook 7.4

Form callback.

1 string reference to 'fb_admin_default_app_form'
fb_menu in ./fb.module
Implements hook_menu().

File

./fb.admin.inc, line 1188

Code

function fb_admin_default_app_form($form, &$form_state) {
  drupal_set_title(t('Site-Wide Application'));
  $markup = array(
    '#type' => 'markup',
    '#prefix' => '<p>',
    '#suffix' => '</p>',
  );
  $form['description'][] = array(
    '#markup' => t('A <em>Facebook application</em> enables advanced Facebook integration features.'),
  ) + $markup;
  $form['description'][] = array(
    '#markup' => t('This form selects a default for this website.  Most websites need only a single application and should select it here.'),
  ) + $markup;
  return fb_admin_app_select_form($form, $form_state, array(
    'variable' => FB_VAR_DEFAULT_APP,
  ));
}