0

Is there a way to alter an ajax callback from a form? I need to add a custom command after the existing one.

Or to alter the existing command defined in the js file?

Thanks

3

I believe what you are looking for is hook_ajax_render_alter(&$commands)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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