I'm writing a module that will inject javascript into the page when a view is rendered. The contents of the javascript will depend on the results returned in the view, so ideally I would have access to that. I'm trying to use event subscriptions to do this. I have the getSubscribedEvents function set up but I'm trying to find a view render event to subscribe to. Is there such an event I can use?



Your Answer

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

Browse other questions tagged or ask your own question.