Deprecation: #99638 - Environment::getBackendPath()

See forge#99638


TYPO3's backend path /typo3 is currently resolved statically in Environment::getBackendPath() to return the full path to the backend entrypoint.

However, as TYPO3's code base is evolving, the usages to the hardcoded path have been reduced and the functionality is now migrated into a new BackendEntryPointResolver class, which allows for dynamically adjusting the entry point in the future.


Calling the method will trigger a PHP deprecation warning.

Affected installations

TYPO3 installations with custom extensions using the method in PHP code.


Check for the extension scanner, and see if the code is necessary, or if any alternative, such as the \TYPO3\CMS\Core\Routing\BackendEntryPointResolver or \TYPO3\CMS\Core\Http\NormalizedParams might be better suited as third-party extensions should not rely on the hard-coded paths to resources from typo3/* anymore.