You are here

function addthis_addthis_toolbox_services in AddThis 6.3

Implements hook_addthis_toolbox_services().

File

./addthis.module, line 236
Provides integration with the AddThis.com bookmarking & sharing service.

Code

function addthis_addthis_toolbox_services() {
  $services = array(
    'separator' => array(
      'output' => '<span class="addthis_separator">|</span>',
    ),
    'share' => array(
      'class' => 'addthis_button_expanded',
      'title' => t('Share'),
    ),
    'more' => array(
      'class' => 'addthis_button_expanded',
    ),
    'share_compact' => array(
      'class' => 'addthis_button_compact',
      'title' => t('Share'),
    ),
    'compact' => array(
      'class' => 'addthis_button_compact',
    ),
    'counter' => array(
      'class' => 'addthis_counter',
    ),
    'counter_pill' => array(
      'class' => 'addthis_counter addthis_pill_style',
    ),
    'facebook_like' => array(
      'class' => 'addthis_button_facebook_like',
    ),
    'facebook_like_counter' => array(
      'class' => 'addthis_button_facebook_like',
      'attributes' => 'fb:like:layout="button_count">',
    ),
    'tweet' => array(
      'class' => 'addthis_button_tweet',
    ),
  );
  return $services;
}