You are here

function hook_bat_facets_search_results_alter in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 8 modules/bat_event/bat_event.api.php \hook_bat_facets_search_results_alter()

Allow modules to alter results from faceted search.

Parameters

array $units:

array $context:

1 invocation of hook_bat_facets_search_results_alter()
bat_facets_search_api_query_alter in modules/bat_facets/bat_facets.module
Implements hook_search_api_query_alter().

File

modules/bat_event/bat_event.api.php, line 16
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_bat_facets_search_results_alter(&$units, $context) {
  unset($units[0]);
}