You are here

function _map_active_languages in Facebook social plugins integration 7.2

Same name and namespace in other branches
  1. 6.2 fb_social.module \_map_active_languages()
  2. 6 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_page_alter in ./fb_social.module
Implements hook_page_alter().

File

./fb_social.module, line 696

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;
}