AddJavaScriptModulesEvent

FinalYes

Collects additional JavaScript modules to be loaded in SetupModuleController.

Table of Contents

Methods

addJavaScriptModule()  : void
getJavaScriptModules()  : array<string|int, string>

Methods

addJavaScriptModule()

public addJavaScriptModule(string $specifier) : void
Parameters
$specifier : string

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

getJavaScriptModules()

public getJavaScriptModules() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results