AddJavaScriptModulesEvent

final class \TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent

Collects additional JavaScript modules to be loaded in SetupModuleController.

Deprecated

since 14.0, remove in 15.0 - replacement is TYPO3\CMS\Backend\Event\AddUserSettingsJavaScriptModulesEvent

This is the prior implementation before the move of EXT:setup into EXT:backend.

Table of Contents

Methods

__construct()  : mixed
addJavaScriptModule()  : void
getJavaScriptModules()  : string[]
getRequest()  : ServerRequestInterface

Methods

__construct()

public __construct(ServerRequestInterface $request) : mixed

Parameters

$request : ServerRequestInterface

addJavaScriptModule()

public addJavaScriptModule(string $specifier) : void

Parameters

$specifier : string

Bare module identifier like @my/package/filename.js

getJavaScriptModules()

public getJavaScriptModules() : string[]

Return values

string[]

getRequest()

public getRequest() : ServerRequestInterface

Return values

ServerRequestInterface
On this page