---
title: "Deprecation: #109517 - PSR-14 event \\TYPO3\\CMS\\Setup\\Event\\AddJavaScriptModulesEvent"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-109517-1744105201"
source: "Changelog/14.3/Deprecation-109517-AddJavaScriptModulesEvent.rst"
typo3-version: "14.3"
typo3-major: 14
type: "deprecation"
issue: 109517
forge: "https://forge.typo3.org/issues/109517"
tags: ["Backend", "PHP-API", "NotScanned", "ext:backend"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #109517 - PSR-14 event `\TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent` {#deprecation-109517-1744105201}

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

## Description {#description}

The PSR-14 event
that is dispatched in the **User Settings**
panel to allow injection of custom JavaScript methods has
been deprecated:

-   `\TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent`

With the integration of `EXT:setup` into `EXT:backend` (see
[Important: #109517 - Setup extension merged into backend extension](https://docs.typo3.org/permalink/changelog:important-109517-1744105200)) this event is now superseded
by:

-   `\TYPO3\CMS\Backend\Event\AddUserSettingsJavaScriptModulesEvent`

For better dual version compatibility, no deprecation is emitted
when using the legacy event location.

Migration to the new event can be done by just replacing its
new name. For details, see [Moved event AddJavaScriptModulesEvent](https://docs.typo3.org/permalink/changelog:important-109517-1744105200-addjavascriptmodulesevent).

## Impact {#impact}

Using the old event will work as before in TYPO3 v14 but will
be removed with TYPO3 v15.0.

To keep listeners working, the new event
`\TYPO3\CMS\Backend\Event\AddUserSettingsJavaScriptModulesEvent`
must be utilized instead.

## Affected installations {#affected-installations}

Instances and extensions that register a PSR-14 listener on
`\TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent`.

## Migration {#migration}

See [Moved event AddJavaScriptModulesEvent](https://docs.typo3.org/permalink/changelog:important-109517-1744105200-addjavascriptmodulesevent).
The new event name and class namespace can be used with no further
functional changes.
