You are here

function addthis_displays_field_formatter_info in AddThis 7.4

Implements hook_field_formatter_info().

File

addthis_displays/addthis_displays.field.inc, line 11
Defines field implementations.

Code

function addthis_displays_field_formatter_info() {
  $formatters = array();
  $formatters['addthis_basic_toolbox'] = array(
    'label' => t('Basic Toolbox'),
    'field types' => array(
      AddThis::FIELD_TYPE,
    ),
    'settings' => array(
      'share_services' => 'preferred_1,preferred_2,preferred_3,preferred_4,compact',
      'buttons_size' => 'addthis_16x16_style',
      'counter_orientation' => 'horizontal',
      'extra_css' => '',
    ),
  );
  $formatters['addthis_basic_button'] = array(
    'label' => t('Basic Button'),
    'field types' => array(
      AddThis::FIELD_TYPE,
    ),
    'settings' => array(
      'button_size' => 'small',
      'extra_css' => '',
    ),
  );
  return $formatters;
}