search_api_multi.api.php 434 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Hooks provided by the Search API multi-index searches module.
  5. */
  6. /**
  7. * @addtogroup hooks
  8. * @{
  9. */
  10. /**
  11. * Lets modules alter a search query before executing it.
  12. *
  13. * @param SearchApiMultiQueryInterface $query
  14. * The executed search query.
  15. */
  16. function hook_search_api_multi_query_alter(SearchApiMultiQueryInterface $query) {
  17. $query->condition('#', 0, '!=');
  18. }
  19. /**
  20. * @} End of "addtogroup hooks".
  21. */