You are here

function search_api_ranges_forms in Search API ranges 7

Implements hook_forms().

File

./search_api_ranges.module, line 315
Performs min/max queries through Search API and provides UI Slider display widget for Facet API

Code

function search_api_ranges_forms($form_id, $args) {

  // Map all form IDs starting with search_api_ranges_block_slider_view_form
  // to our callback.
  if (strpos($form_id, 'search_api_ranges_block_slider_view_form') === 0) {
    $forms[$form_id] = array(
      'callback' => 'search_api_ranges_block_slider_view_form',
    );
    return $forms;
  }
}