You are here

function hook_themekey_global in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 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().

7 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_browscap_themekey_global in modules/themekey.browscap.inc
Implements hook_themekey_global().
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_node_themekey_global in modules/themekey.node.inc
Implements hook_themekey_global().
themekey_system_themekey_global in modules/themekey.system.inc
Implements hook_themekey_global().

... See full list

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 96
ThemeKey API documentation

Code

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