function themekey_example_themekey_global in ThemeKey 7.3
Same name and namespace in other branches
- 7 themekey_example/themekey_example.module \themekey_example_themekey_global()
- 7.2 themekey_example/themekey_example.module \themekey_example_themekey_global()
Implements hook_themekey_global().
This function sets some properties on every page request.
So only easy stuff with low time and memory consumtion should be done by implementing hook_themekey_global().
File
- themekey_example/
themekey_example.module, line 70 - ThemeKey Example demonstrates the usage of ThemeKeys API to add more properties to ThemeKey.
Code
function themekey_example_themekey_global() {
$parameters = array();
$parameters['example:global_one'] = "1";
return $parameters;
}