You are here

function themekey_node_themekey_paths in ThemeKey 7

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

Implements hook_themekey_paths().

File

modules/themekey.node.inc, line 193
Provides some node attributes as ThemeKey properties.

Code

function themekey_node_themekey_paths() {
  $paths = array();
  $paths[] = array(
    'path' => 'node/#node:nid',
  );
  $paths[] = array(
    'path' => 'node/#node:nid/revisions/#node:vid/view',
  );
  return $paths;
}