You are here

function socialmedia_widgets_element_alter_addthis_addthis_counter in Social media 7

1 call to socialmedia_widgets_element_alter_addthis_addthis_counter()
socialmedia_widgets_element_form_alter in ./socialmedia.widgets.inc

File

./socialmedia.widgets.inc, line 484
Functions needed to execute image elements provided by Image module.

Code

function socialmedia_widgets_element_alter_addthis_addthis_counter(&$form, $set, $element) {
  $options = array(
    '' => t('Large button with verticle count'),
    //' addthis_32x32_style addthis_bubble_style' => t('Large button with horizontal count'),

    //' addthis_bubble_style' => t('Small button with horizontal count'),
    ' addthis_pill_style' => t('Pill button (no count)'),
  );
  $form['style']['#type'] = 'select';
  $form['style']['#options'] = $options;
  $form['style']['#description'] = t('Select button and style');
}