function taxonomy_facets_theme in Taxonomy Facets 7.3
Same name and namespace in other branches
- 8 taxonomy_facets.module \taxonomy_facets_theme()
- 7.2 taxonomy_facets.module \taxonomy_facets_theme()
Hook_theme, provides 3 theme files for theming filters.
File
- ./
taxonomy_facets.module, line 236
Code
function taxonomy_facets_theme() {
$template_path = drupal_get_path('module', 'taxonomy_facets') . '/templates';
return array(
'taxonomy_facets_menu_leaf_template' => array(
'variables' => array(
'menuLeaf' => NULL,
),
'template' => 'taxonomy_facets_menu_leaf-template',
'path' => $template_path,
),
'taxonomy_facets_ul_wrapper_begin_template' => array(
'template' => 'taxonomy_facets_ul_wrapper_begin-template',
'path' => $template_path,
),
'taxonomy_facets_ul_wrapper_end_template' => array(
'template' => 'taxonomy_facets_ul_wrapper_end-template',
'path' => $template_path,
),
'taxonomy_facets_removefilter_template' => array(
'variables' => array(
'menuHed' => NULL,
),
'template' => 'taxonomy_facets_removefilter-template',
'path' => $template_path,
),
);
}