You are here

function themekey_system_themekey_global in ThemeKey 6.3

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

Implements hook_themekey_global().

File

modules/themekey.system.inc, line 105
Provides some ThemeKey properties.

Code

function themekey_system_themekey_global() {
  global $user;
  $parameters = array();
  $parameters['system:host'] = $_SERVER['HTTP_HOST'];
  $parameters['drupal:get_q'] = themekey_get_q();
  return $parameters;
}