You are here

function fb_social_fb_plugin_defaults in Facebook social plugins integration 7.2

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

Return the default vaules of a certain plugin type as defined by facebook

Parameters

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

1 call to fb_social_fb_plugin_defaults()
fb_social_default::options_defaults in plugins/boxes/fb_social_default.inc
Implementation of boxes_content::options_defaults().

File

./fb_social.module, line 293

Code

function fb_social_fb_plugin_defaults($type) {
  $plugin = fb_social_fb_plugin_load($type);
  $function = ctools_plugin_get_function($plugin, 'default values');
  if ($function) {
    return $function();
  }
  return array();
}