AddJavaScriptModulesEvent
FinalYes
Collects additional JavaScript modules to be loaded in SetupModuleController.
Table of Contents
Methods
- addJavaScriptModule() : void
- addModule() : void
- getJavaScriptModules() : array<string|int, string>
- getModules() : array<string|int, string>
Methods
addJavaScriptModule()
public
addJavaScriptModule(string $specifier) : void
Parameters
- $specifier : string
-
Bare module identifier like @my/package/filename.js
addModule()
public
addModule(string $moduleName) : void
will be removed in TYPO3 v13.0. Use addJavaScriptModule() instead, available since TYPO3 v12.0.
Parameters
- $moduleName : string
getJavaScriptModules()
public
getJavaScriptModules() : array<string|int, string>
Return values
array<string|int, string>getModules()
public
getModules() : array<string|int, string>