function fb_social_fb_plugin_load in Facebook social plugins integration 7.2
Same name and namespace in other branches
- 6.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_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_field_extra_fields in ./
fb_social.module - Implements hook_content_extra_fields.
- fb_social_link in ./
fb_social.module - Fake hook_link (as in D6); for easy maintanance only
File
- ./
fb_social.module, line 278
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;
}