You are here

function fb_social_fb_plugin_drupal_settings_form in Facebook social plugins integration 7.2

Same name and namespace in other branches
  1. 6.2 fb_social.module \fb_social_fb_plugin_drupal_settings_form()

Return the drupal settings form for a given plugin type

Parameters

$type the plugin type/name (i.e. like).:

1 call to fb_social_fb_plugin_drupal_settings_form()
fb_social_presets_ui_form in plugins/export_ui/fb_social_presets_ui.inc
The preset add/edit form

File

./fb_social.module, line 338

Code

function fb_social_fb_plugin_drupal_settings_form($type, $options) {
  $form = array();
  $plugin = fb_social_fb_plugin_load($type);
  $function = ctools_plugin_get_function($plugin, 'drupal settings form');
  if ($function) {
    $form = $function($options);
  }
  return $form;
}