You are here

public function SearchApiFacetapiAdapter::suppressOutput in Search API 7

Returns a boolean flagging whether facets in a realm shoud be displayed.

Useful, for example, for suppressing sidebar blocks in some cases.

Return value

A boolean flagging whether to display a given realm.

File

contrib/search_api_facetapi/plugins/facetapi/adapter.inc, line 181
Classes used by the Facet API module.

Class

SearchApiFacetapiAdapter
Facet API adapter for the Search API module.

Code

public function suppressOutput($realm_name) {

  // Not sure under what circumstances the output will need to be suppressed?
  return FALSE;
}