TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,48 @@
.. include:: /Includes.rst.txt
.. _deprecation-82899:
========================================================
Deprecation: #82899 - ExtensionManagementUtility methods
========================================================
See :issue:`82899`
Description
===========
The following methods have been marked as deprecated in :php:`ExtensionManagementUtility`
* :php:`siteRelPath()`
* :php:`getExtensionKeyByPrefix()`
* :php:`removeCacheFiles()`
Additionally the second method parameter of :php:`ExtensionManagementUtility::isLoaded()` to
throw an exception when an extension is not loaded, has been marked as deprecated, and should not
be used anymore.
Impact
======
Calling any of the methods or :php:`isLoaded()` with a second argument set explicitly will trigger
a deprecation message.
Affected Installations
======================
Any TYPO3 installation with an extension calling any of the methods above.
Migration
=========
Use :php:`PathUtility::stripPathSitePrefix(ExtensionManagementUtility::extPath($extensionKey))`
instead of :php:`ExtensionManagementUtility::siteRelPath()`.
Instead of calling :php:`getExtensionKeyByPrefix()` use the extension key directly.
Use CacheManager API directly instead of calling :php:`removeCacheFiles()`.
.. index:: PHP-API, FullyScanned