You are here

function hs_taxonomy_views_config in Hierarchical Select 6.3

Menu callback; Hierarchical Select configuration form page.

When the given filter id doesn't exist, a 404 page is displayed.

Parameters

$view: A view object.

$display_id: The ID of a display within the given view object.

$filter_id: The ID of a filter used within the given view object.

1 string reference to 'hs_taxonomy_views_config'
hs_taxonomy_views_menu in modules/hs_taxonomy_views.module
Implementation of hook_menu().

File

modules/hs_taxonomy_views.module, line 125
Implementation of the Hierarchical Select API for the Taxonomy module's Views exposed filters.

Code

function hs_taxonomy_views_config($view, $display_id, $filter_id) {
  $filter = _hs_taxonomy_views_get_filter($view, $display_id, $filter_id);
  if ($filter == FALSE) {
    drupal_not_found();
  }
  else {
    views_set_current_view($view);
    return drupal_get_form('hs_taxonomy_views_config_form', $view, $display_id, $filter_id);
  }
}