You are here

function themekey_locale_themekey_global in ThemeKey 6

Same name and namespace in other branches
  1. 6.4 modules/themekey.locale.inc \themekey_locale_themekey_global()
  2. 6.2 modules/themekey.locale.inc \themekey_locale_themekey_global()
  3. 6.3 modules/themekey.locale.inc \themekey_locale_themekey_global()
  4. 7.3 modules/themekey.locale.inc \themekey_locale_themekey_global()
  5. 7 modules/themekey.locale.inc \themekey_locale_themekey_global()
  6. 7.2 modules/themekey.locale.inc \themekey_locale_themekey_global()

File

modules/themekey.locale.inc, line 14

Code

function themekey_locale_themekey_global() {
  global $language;
  $parameters = array();
  $parameters['locale:language'] = isset($language->language) ? $language->language : 'en';
  return $parameters;
}