You are here

function taxonomy_facets_theme in Taxonomy Facets 7.2

Same name and namespace in other branches
  1. 8 taxonomy_facets.module \taxonomy_facets_theme()
  2. 7.3 taxonomy_facets.module \taxonomy_facets_theme()

Hook_theme, provides 3 theme files for theming filters

File

./taxonomy_facets.module, line 235
Taxo Faceted Navigation module code.

Code

function taxonomy_facets_theme() {
  $template_path = drupal_get_path('module', 'taxonomy_facets') . '/templates';
  return array(
    'taxonomy_facets_menu_template' => array(
      'variables' => array(
        'taxo_menu_item' => NULL,
      ),
      'template' => 'taxonomy_facets_menu-template',
      'path' => $template_path,
    ),
    'taxonomy_facets_ul_wrapper_template' => array(
      'variables' => array(
        'ul_sub_menu' => NULL,
      ),
      'template' => 'taxonomy_facets_ul_wrapper-template',
      'path' => $template_path,
    ),
    'taxonomy_facets_removefilter_template' => array(
      'variables' => array(
        'ul_sub_menu' => NULL,
      ),
      'template' => 'taxonomy_facets_removefilter-template',
      'path' => $template_path,
    ),
  );
}