Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
I believe what you are looking for is hook_ajax_render_alter(&$commands)
Required, but never shown