You are here

function fb_social_like_content_extra_fields in Facebook social plugins integration 6

Implementation of hook_content_extra_fields.

File

modules/fb_social_like/fb_social_like.module, line 62

Code

function fb_social_like_content_extra_fields($type_name) {
  if (fb_social_like_type($type_name) && variable_get('fb_social_like_location', 0)) {
    $extras['fb_social_like_widget'] = array(
      'label' => t('Facebook socials like widget'),
      'description' => t('The facebook like pluging widget'),
      'weight' => -10,
    );
    return $extras;
  }
}