public static function SocialSharePrivacy::allServices in Share Message 8
Gets all Social Share Privacy services.
Return value
array All supported Social Share Privacy services.
3 calls to SocialSharePrivacy::allServices()
- SocialSharePrivacy::buildConfigurationForm in src/
Plugin/ sharemessage/ SocialSharePrivacy.php - Form constructor.
- SocialSharePrivacy::services in src/
Plugin/ sharemessage/ SocialSharePrivacy.php - Prepare services for drupalSettings.
- SocialSharePrivacySettingsForm::buildForm in src/
Form/ SocialSharePrivacySettingsForm.php - Form constructor.
File
- src/
Plugin/ sharemessage/ SocialSharePrivacy.php, line 178
Class
- SocialSharePrivacy
- SocialSharePrivacy plugin.
Namespace
Drupal\sharemessage\Plugin\sharemessageCode
public static function allServices() {
return [
'buffer' => t('Buffer'),
'delicious' => t('Delicious'),
'disqus' => t('Disqus'),
'facebook' => t('Facebook Like/Recommend'),
'fbshare' => t('Facebook Share'),
'flattr' => t('Flattr'),
'gplus' => t('Google+'),
'hackernews' => t('Hacker News'),
'linkedin' => t('LinkedIn'),
'mail' => t('Mail'),
'pinterest' => t('Pinterest'),
'reddit' => t('Reddit'),
'stumbleupon' => t('Stumble Upon'),
'tumblr' => t('Tumblr'),
'twitter' => t('Twitter'),
'xing' => t('XING'),
];
}