As the title sais, is there a similar behavior like hook_views_ajax_data_alter in drupal 8 like in 7? If not has anyone achived the same result programatically? Thanks in advance.

New contributor
Manos Kalogeropoulos is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Mybe you can try implementing an AjaxResponse Event Subscriber and alter the commands onResponse : an example of this is here :

Your Answer

Manos Kalogeropoulos is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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