function _map_active_languages in Facebook social plugins integration 6
Same name and namespace in other branches
- 6.2 fb_social.module \_map_active_languages()
- 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 284 - Common settings for all fb social plugins
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;
}