You are here

function socialmedia_widgets_element_alter_stumbleupon_badge in Social media 7

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

File

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

Code

function socialmedia_widgets_element_alter_stumbleupon_badge(&$form, $set, $element) {
  $options = array(
    '4' => t('Small button (no count)'),
    '6' => t('Large button (no count)'),
    '1' => t('Small button with horizontal count'),
    '5' => t('Large button with verticle count'),
  );
  $form['style']['#type'] = 'select';
  $form['style']['#options'] = $options;
  return $form;
}