- Issue created by @chrisolof
- 🇮🇳India arunsahijpal
Hi @chrisolof,
I've removed the hook_search_api_query_alter() and added a event subscriber instead pls check.Thanks
facets_exposed_filters_search_api_query_alter()
implements deprecated alter hook hook_search_api_query_alter()
.
From PHPUnit test output:
This hook is deprecated in search_api:8.x-1.14 and is removed from search_api:2.0.0. Use the "search_api.query_pre_execute" event instead. See https://www.drupal.org/node/3059866 →
N/A.
Use the "search_api.query_pre_execute" event instead.
MR, review.
None.
None.
None.
Active
3.0
Code
Hi @chrisolof,
I've removed the hook_search_api_query_alter() and added a event subscriber instead pls check.
Thanks