function _fb_social_like_content_extra_fields in Facebook social plugins integration 6.2
content_extra_fields callback for this plugin
File
- plugins/
fb_plugin/ like.inc, line 164
Code
function _fb_social_like_content_extra_fields($preset, $type_name) {
$extras = array();
if (fb_social_preset_node_types($preset, $type_name) && $preset->settings['plugin_location']['location']) {
$extras['fb_social_' . $preset->plugin_type . '_' . $preset->name] = array(
'label' => t('Facebook social: ' . $preset->name . ' plugin'),
'description' => t('The "' . $preset->plugin_type . '" plugin field from ' . $preset->name . ' preset'),
'weight' => 15,
);
}
return $extras;
}