Feature: #69916 - PSR-7-based Routing for Backend AJAX Requests ¶
See Issue #69916
Support for PSR-7-based Routing for Backend AJAX requests has been added.
To add a route for an AJAX request, create the
of your extension:
return [ // Does something 'unique_route_name' => [ 'path' => '/toolcollection/some-action', 'target' => \ACME\Controller\SomeController::class . '::myAction', ] ];
The unique_route_name (route identifier) parameter acts as the previously known key to
passed as parameter to the action refers to the route path,
to the route identifier itself. AJAX handlers configured in
with definitions in
due to different method signatures in the target actions, using PSR-7.
The route identifier is used in
and as key in the global