0

I am just looking for altering select query, created by any view just before its execute. For e.g. I want to add some manual filter which I can't add from Views' UI.

1
  • use hook_views_query_alter() to alter the select query.
    – DRUPWAY
    Commented Oct 14, 2014 at 11:21

1 Answer 1

1

You are likely looking to use hook_view_query_alter, additionally you might want to look into some related questions on Drupal answers How do I use hook_views_query_alter()?.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.