You are here

function taxo_faceted_navigation_theme in Taxonomy Facets 7

Hook_theme, provides 3 theme files for theming filters

File

./taxo_faceted_navigation.module, line 232
Taxo Faceted Navigation module code.

Code

function taxo_faceted_navigation_theme() {
  $template_path = drupal_get_path('module', 'taxo_faceted_navigation') . '/templates';
  return array(
    'taxo_faceted_navigation_menu_template' => array(
      'variables' => array(
        'taxo_menu_item' => NULL,
      ),
      'template' => 'taxo_faceted_navigation_menu-template',
      'path' => $template_path,
    ),
    'taxo_faceted_navigation_ul_wrapper_template' => array(
      'variables' => array(
        'ul_sub_menu' => NULL,
      ),
      'template' => 'taxo_faceted_navigation_ul_wrapper-template',
      'path' => $template_path,
    ),
    'taxo_faceted_navigation_removefilter_template' => array(
      'variables' => array(
        'ul_sub_menu' => NULL,
      ),
      'template' => 'taxo_faceted_navigation_removefilter-template',
      'path' => $template_path,
    ),
  );
}