You are here

function fb_social_fb_plugin_load in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 7.2 fb_social.module \fb_social_fb_plugin_load()

load a specific fb_plugin or all of them

8 calls to fb_social_fb_plugin_load()
fb_social_content_extra_fields in ./fb_social.module
Implementation of hook_content_extra_fields.
fb_social_fb_plugin_defaults in ./fb_social.module
Return the default vaules of a certain plugin type as defined by facebook
fb_social_fb_plugin_drupal_settings_form in ./fb_social.module
Return the drupal settings form for a given plugin type
fb_social_fb_plugin_fb_settings_form in ./fb_social.module
Return the facebook plugin form for a given type
fb_social_link in ./fb_social.module
Implementation of hook_link

... See full list

File

./fb_social.module, line 289

Code

function fb_social_fb_plugin_load($type = NULL) {
  ctools_include('plugins');
  $plugins = ctools_get_plugins('fb_social', 'fb_plugin');
  if (isset($type)) {
    return $plugins[$type];
  }
  return $plugins;
}