You are here

search_api_et.views.inc in Search API Entity Translation 7.2

Views hook implementations for the Search API ET module.

File

search_api_et.views.inc
View source
<?php

/**
 * @file
 * Views hook implementations for the Search API ET module.
 */

/**
 * Implements hook_views_plugins_alter().
 *
 * Extend search_api_views module's SearchApiViewsQuery class to use our own
 * addResults() method to correctly process multilingual search item IDs.
 */
function search_api_et_views_plugins_alter(&$plugins) {
  $plugins['query']['search_api_views_query']['handler'] = 'SearchApiEtViewsQuery';
}