function socialmedia_widgets_element_addthis_pinterest_pinit in Social media 7
1 call to socialmedia_widgets_element_addthis_pinterest_pinit()
- socialmedia_widgets_element_info in ./
socialmedia.widgets.inc - Implements hook_widgets_element_info().
File
- ./
socialmedia.widgets.inc, line 613 - Functions needed to execute image elements provided by Image module.
Code
function socialmedia_widgets_element_addthis_pinterest_pinit() {
$addthis_js = socialmedia_widgets_element_addthis_js();
$elements['socialmedia_addthis-pinterest-pinit'] = array(
'label' => t('AddThis Pinterest counter button'),
'help' => t('Resizing will make images an exact set of dimensions. This may cause images to be stretched or shrunk disproportionately.'),
'group' => t('Social media: Pinterest'),
'template' => '<a class="addthis_button_pinterest_pinit"[?size=?]></a>',
'add_js' => array(
'data' => $addthis_js,
'options' => array(
'scope' => 'set_post',
),
),
'form callback' => 'widgets_template_auto_form',
);
return $elements;
}