public function SearchApiViewsQuery::alter in Search API 7
Let modules modify the query just prior to finalizing it.
Parameters
view $view: The view which is executed.
Overrides views_plugin_query::alter
File
- contrib/
search_api_views/ includes/ query.inc, line 332 - Contains SearchApiViewsQuery.
Class
- SearchApiViewsQuery
- Views query class using a Search API index as the data source.
Code
public function alter(&$view) {
parent::alter($view);
drupal_alter('search_api_views_query', $view, $this);
}