ECA Endpoint: Add support for Ajax requests
Problem/Motivation
When the request to an ECA endpoint is an Ajax request, it should properly respond with an Ajax response.
Proposed resolution
Extend the controller to auto-detect the request type and also add Ajax command action plugins that can be added to the response.
Edited by drupalbot