function themekey_taxonomy_themekey_paths in ThemeKey 7.3
Same name and namespace in other branches
- 6.4 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
- 6 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
- 6.2 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
- 6.3 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
- 7 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
- 7.2 modules/themekey.taxonomy.inc \themekey_taxonomy_themekey_paths()
Implements hook_themekey_paths().
File
- modules/
themekey.taxonomy.inc, line 81 - Provides some taxonomy stuff as ThemeKey properties.
Code
function themekey_taxonomy_themekey_paths() {
$paths = array();
$paths[] = array(
'path' => 'taxonomy/term/#taxonomy:tid',
);
// Add support for 'forum' paths
if (module_exists('forum') && variable_get('themekey_module_forum_triggers_taxonomy_vid', 0)) {
$paths[] = array(
'path' => 'forum/#taxonomy:vid',
);
}
return $paths;
}