How can I alter services views result. Using services view I can easily produce Json data. I have tried function hook_views_post_execute. This hook is working for simple views but not with services Views(Json data).

1 Answer 1


You can use hook_services_request_preprocess_alter() and hook_services_request_postprocess_alter() hooks of Services module.

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.