ECA Endpoint: Add support for Ajax requests

Issue information

From user: jurgenhaas

Contribution record

Fork management

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information