---
title: "Deprecation: #82899 - ExtensionManagementUtility methods"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-82899"
source: "Changelog/9.0/Deprecation-82899-ExtensionManagementUtilityMethods.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #82899 - ExtensionManagementUtility methods

See [forge#82899](https://forge.typo3.org/issues/82899)

## Description

The following methods have been marked as deprecated in `ExtensionManagementUtility`

-   `siteRelPath()`
-   `getExtensionKeyByPrefix()`
-   `removeCacheFiles()`

Additionally the second method parameter of `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 `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 `PathUtility::stripPathSitePrefix(ExtensionManagementUtility::extPath($extensionKey))`
instead of `ExtensionManagementUtility::siteRelPath()`.

Instead of calling `getExtensionKeyByPrefix()` use the extension key directly.

Use CacheManager API directly instead of calling `removeCacheFiles()`.
