Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hook_search_api_query_alter(SearchApiQueryInterface $query) {
- $info = entity_get_info($index->item_type);
- $query->condition($info['entity keys']['id'], 0, '!=');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement