Is there any way to specify that a certain query has to run before entering a view? in a module with php .

1 Answer 1


I used hook_views_pre_execute and was able to run what I wanted before the view is created

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.