You are here

function jw_player_sharing_sites in JW Player 7.2

Same name and namespace in other branches
  1. 8 jw_player.module \jw_player_sharing_sites()

Helper function to retrieve available JW Player sharing sites.

Return value

array Array of sharing site keys and formatted values.

2 calls to jw_player_sharing_sites()
jw_player_ctools_export_ui_form in plugins/export_ui/jw_player_ctools_export_ui.inc
Implements hook_ctools_export_ui_form().
jw_player_preset_settings in ./jw_player.module
Helper function to display JW Player preset settings.

File

./jw_player.module, line 476
Adds a theme function which allows theme developers to use the JW Player.

Code

function jw_player_sharing_sites() {
  return array(
    'facebook' => t('Facebook'),
    'twitter' => t('Twitter'),
    'pinterest' => t('Pinterest'),
    'email' => t('Email'),
    'tumblr' => t('Tumblr'),
    'googleplus' => t('Google Plus'),
    'reddit' => t('Reddit'),
    'linkedin' => t('LinkedIn'),
  );
}