You are here

function taxonomy_facets_theme in Taxonomy Facets 8

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

Implements hook_theme().

Provides 3 theme files for theming filters.

File

./taxonomy_facets.module, line 64

Code

function taxonomy_facets_theme($existing, $type, $theme, $path) {
  return array(
    'taxonomy_facets_menu_leaf_template' => array(
      'variables' => array(
        'menuLeaf' => NULL,
      ),
      'template' => 'taxonomy_facets_menu_leaf-template',
    ),
    'taxonomy_facets_ul_wrapper_end_template' => array(
      'variables' => array(),
      'template' => 'taxonomy_facets_ul_wrapper_end-template',
    ),
    'taxonomy_facets_ul_wrapper_begin_template' => array(
      'variables' => array(
        'menuClass' => NULL,
      ),
      'template' => 'taxonomy_facets_ul_wrapper_begin-template',
    ),
    'taxonomy_facets_remove_filter_template' => array(
      'variables' => array(
        'menuHed' => NULL,
      ),
      'template' => 'taxonomy_facets_remove_filter-template',
    ),
  );
}