You are here

public function FacetapiUrlProcessorStandard::normalizeParams in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/url_processor_standard.inc \FacetapiUrlProcessorStandard::normalizeParams()
  2. 7 plugins/facetapi/url_processor_standard.inc \FacetapiUrlProcessorStandard::normalizeParams()

Implements FacetapiUrlProcessor::normalizeParams().

Strips the "q" and "page" variables from the params array.

Overrides FacetapiUrlProcessor::normalizeParams

File

plugins/facetapi/url_processor_standard.inc, line 37
The standard url processor class.

Class

FacetapiUrlProcessorStandard
Url processor plugin that retrieves facet data from the query string.

Code

public function normalizeParams(array $params, $filter_key = 'f') {
  return drupal_get_query_parameters($params, array(
    'q',
    'page',
  ));
}