You are here

function easy_social_handler_field::option_definition in Easy Social 7.2

Define extra Easy Social field options.

Overrides views_handler_field::option_definition

File

views/easy_social_handler_field.inc, line 51
Easy Social view handler.

Class

easy_social_handler_field
Handler for displaying Easy Social share buttons in views.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['easy_social_type'] = array(
    'default' => EASY_SOCIAL_WIDGET_HORIZONTAL,
  );
  $options['easy_social_widgets'] = array(
    'default' => variable_get_value('easy_social_global_widgets'),
  );
  return $options;
}