You are here

function fb_social_like_handler_field_like::option_definition in Facebook social plugins integration 6

options definitions and their default values

File

modules/fb_social_like/views/fb_social_like_handler_field_like.inc, line 28
Views handler fb like widget.

Class

fb_social_like_handler_field_like
Field handler to provie the fb widget Inherit from views_handler_field_node so we get the nid for free

Code

function option_definition() {
  $options = parent::option_definition();
  $options['fb_social_like_layout_style'] = array(
    'default' => 'button_count',
  );
  $options['fb_social_like_show_faces'] = array(
    'default' => FALSE,
  );
  $options['fb_social_like_width'] = array(
    'default' => '350',
  );
  $options['fb_social_like_verb'] = array(
    'default' => 'like',
  );
  $options['fb_social_like_font'] = array(
    'default' => 'verdana',
  );
  $options['fb_social_like_color'] = array(
    'default' => 'dark',
  );
  return $options;
}