You are here

function themekey_taxonomy_themekey_paths in ThemeKey 6.4

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

Implements hook_themekey_paths().

File

modules/themekey.taxonomy.inc, line 71
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;
}