You are here

function domain_locale_lookup in Domain Locale 6

Same name and namespace in other branches
  1. 7 domain_locale.module \domain_locale_lookup()

Retrieves a list of languages enabled on given domain

4 calls to domain_locale_lookup()
domain_locale_form_alter in ./domain_locale.module
Implementation of hook_form_alter().
domain_locale_languages_overview_form in ./domain_locale.admin.inc
A modified version of locale_languages_overview_form to manage domain language settings.
domain_locale_languages_overview_form_submit in ./domain_locale.admin.inc
FormsAPI submit handler for domain language settings
domain_locale_translation_link_alter in ./domain_locale.module
Alter translation links to exclude non-existing languages.

File

./domain_locale.module, line 132
domain_locale Domain Locale: manage languages Provides domain specific language settings

Code

function domain_locale_lookup($domain_id, $reset = FALSE) {
  $languages = domain_locale_list($reset);
  $domain_locale = $languages[$domain_id];
  return $domain_locale;
}