You are here

function hs_taxonomy_views_handler_filter_term_node_tid::expose_form_right in Hierarchical Select 6.3

File

modules/hs_taxonomy_views_handler_filter_term_node_tid.inc, line 139
This file defines a new filter handler for using Hierarchical Select in exposed Taxonomy term filters.

Class

hs_taxonomy_views_handler_filter_term_node_tid
@file This file defines a new filter handler for using Hierarchical Select in exposed Taxonomy term filters.

Code

function expose_form_right(&$form, &$form_state) {

  // The form with the "Optional", "Force single" and "Remember" checkboxes.
  parent::expose_form_right($form, $form_state);

  // When the selection type is Hierarchical Select, remove the "Force
  // single" checkbox.
  if ($this
    ->select_type_is_hierarchical_select()) {
    unset($form['expose']['single']);
  }
}