You are here

function hook_themekey_global in ThemeKey 7

Same name and namespace in other branches
  1. 7.3 docs/themekey.api.php \hook_themekey_global()
  2. 7.2 docs/themekey.api.php \hook_themekey_global()

Functions implementing hook_themekey_global() set some properties on every page request.

So only easy stuff with low time and memory consumtion should be done by implementing hook_themekey_global().

4 functions implement hook_themekey_global()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

themekey_example_themekey_global in themekey_example/themekey_example.module
Implements hook_themekey_global().
themekey_locale_themekey_global in modules/themekey.locale.inc
Implements hook_themekey_paths().
themekey_system_themekey_global in modules/themekey.system.inc
Implements hook_themekey_global().
themekey_user_themekey_global in modules/themekey.user.inc
Implements hook_themekey_global().
1 invocation of hook_themekey_global()
themekey_get_global_parameters in ./themekey_base.inc
Assigns global parameters' values to ThemeKey properties. Therefore it calls hook_themekey_global()

File

docs/themekey.api.php, line 97
ThemeKey API documentation

Code

function hook_themekey_global() {
  $parameters = array();
  $parameters['example:global_one'] = "1";
  return $parameters;
}