You are here

function _map_active_languages in Facebook social plugins integration 6.2

Same name and namespace in other branches
  1. 6 fb_social.module \_map_active_languages()
  2. 7.2 fb_social.module \_map_active_languages()
2 calls to _map_active_languages()
fb_social_custom_channel_url in ./fb_social.module
The Custom Channel URL that FB.init has as an option
fb_social_footer in ./fb_social.module
Implementation of hook_footer

File

./fb_social.module, line 655

Code

function _map_active_languages() {
  $languages = language_list();
  $mapped = array();
  foreach ($languages as $key => $language) {
    $mapped[$language->language] = variable_get('fb_social_language_' . $language->language, '');
  }
  return $mapped;
}