function easy_social_easy_social_widget in Easy Social 8.4
Same name and namespace in other branches
- 8.3 easy_social.module \easy_social_easy_social_widget()
- 7.2 easy_social.module \easy_social_easy_social_widget()
Implements hook_easy_social_widget().
Define default Easy Social widgets.
File
- ./
easy_social.module, line 41 - Easy Social module.
Code
function easy_social_easy_social_widget() {
$widgets = array();
// Twitter.
$widgets['twitter'] = array(
'name' => t('Twitter'),
'js' => 'easy_social/twitter',
);
// Facebook.
$widgets['facebook'] = array(
'name' => t('Facebook'),
'js' => 'easy_social/facebook',
);
// Google+.
$widgets['googleplus'] = array(
'name' => t('Google+'),
'js' => 'easy_social/googleplus',
);
// LinkedIn,
$widgets['linkedin'] = array(
'name' => t('LinkedIn'),
'js' => 'easy_social/linkedin',
);
// Pinterest.
$widgets['pinterest'] = array(
'name' => t('Pinterest'),
'js' => 'easy_social/pinterest',
);
return $widgets;
}