function hook_themekey_paths in ThemeKey 7
Same name and namespace in other branches
- 7.3 docs/themekey.api.php \hook_themekey_paths()
- 7.2 docs/themekey.api.php \hook_themekey_paths()
Functions implementing hook_themekey_paths() set some properties on every page request.
Using this function you directly map parts of the path to property values.
6 functions implement hook_themekey_paths()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- themekey_comment_themekey_paths in modules/
themekey.comment.inc - Implements hook_themekey_paths().
- themekey_example_themekey_paths in themekey_example/
themekey_example.module - Implements hook_themekey_paths().
- themekey_node_themekey_paths in modules/
themekey.node.inc - Implements hook_themekey_paths().
- themekey_print_themekey_paths in modules/
themekey.print.inc - Implements hook_themekey_paths().
- themekey_revisioning_themekey_paths in modules/
themekey.revisioning.inc - Implements hook_themekey_paths().
1 invocation of hook_themekey_paths()
- themekey_rebuild in ./
themekey_build.inc - Rebuilds all ThemeKey-related Drupal variables by calling ThemeKey's hooks:
File
- docs/
themekey.api.php, line 114 - ThemeKey API documentation
Code
function hook_themekey_paths() {
$paths = array();
// a path like 'example/27/foo will set property example:path_number to '27'
$paths[] = array(
'path' => 'example/#example:path_number',
);
return $paths;
}