Deprecation: #75340 - Methods related to generating traditional Backend AJAX URLs¶
The following methods have been marked as deprecated:
Calling one of the methods above will trigger a deprecation log entry.
Any TYPO3 instance with a third party extension that calls one of the methods above.
Migrate to UriBuilder routes, which can be registered via Configuration/Backend/AjaxRoutes.php, and can be linked to like this:
/** @var \TYPO3\CMS\Backend\Routing\UriBuilder $uriBuilder */ $uriBuilder = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Routing\UriBuilder::class); $path = $uriBuilder->buildUriFromRoute('ajax_myroute');
Keep in mind that the newly created Ajax routes need to implement PSR-7 as well.